summaryrefslogtreecommitdiff
path: root/libpqpp/command.h
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2014-03-03 20:57:27 +0000
committerrandomdan <randomdan@localhost>2014-03-03 20:57:27 +0000
commit1b6aaca3c5eb7e58ebc54242cb76ebe712e2821a (patch)
treec6e389a14de0f8a4ca75e26a1128b71b4c746a2f /libpqpp/command.h
parentImprovements to popenrw and add popenrwe for the stderr pipe too (diff)
downloadlibdbpp-postgresql-1b6aaca3c5eb7e58ebc54242cb76ebe712e2821a.tar.bz2
libdbpp-postgresql-1b6aaca3c5eb7e58ebc54242cb76ebe712e2821a.tar.xz
libdbpp-postgresql-1b6aaca3c5eb7e58ebc54242cb76ebe712e2821a.zip
Adds native support for time_duration as a variable type
Pass/retrieve boost::posix_time ptime and time_duration into/out of the db tier
Diffstat (limited to 'libpqpp/command.h')
-rw-r--r--libpqpp/command.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpqpp/command.h b/libpqpp/command.h
index 3fb6e24..e78722b 100644
--- a/libpqpp/command.h
+++ b/libpqpp/command.h
@@ -24,8 +24,8 @@ namespace PQ {
void bindParamS(unsigned int, const Glib::ustring&);
- void bindParamT(unsigned int, const tm*);
- void bindParamT(unsigned int, time_t);
+ void bindParamT(unsigned int, const boost::posix_time::time_duration &);
+ void bindParamT(unsigned int, const boost::posix_time::ptime &);
void bindNull(unsigned int);
protected: