summaryrefslogtreecommitdiff
path: root/libodbcpp/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
commite267def4f9f2e47402d72b56a45924f0bd2c0a18 (patch)
tree3384c10e1dbd84247c6d9429ffe3fab4ae398a48 /libodbcpp/command.h
parentFix slice scanner and split .ice files back into logical blocks (diff)
downloadlibdbpp-odbc-e267def4f9f2e47402d72b56a45924f0bd2c0a18.tar.bz2
libdbpp-odbc-e267def4f9f2e47402d72b56a45924f0bd2c0a18.tar.xz
libdbpp-odbc-e267def4f9f2e47402d72b56a45924f0bd2c0a18.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 'libodbcpp/command.h')
-rw-r--r--libodbcpp/command.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/libodbcpp/command.h b/libodbcpp/command.h
index fdabe4a..02347cf 100644
--- a/libodbcpp/command.h
+++ b/libodbcpp/command.h
@@ -26,9 +26,8 @@ namespace ODBC {
void bindParamS(unsigned int i, const Glib::ustring &);
- void bindParamT(unsigned int i, const struct tm *);
- void bindParamT(unsigned int i, const SQL_TIMESTAMP_STRUCT &);
- void bindParamT(unsigned int i, time_t);
+ void bindParamT(unsigned int i, const boost::posix_time::time_duration &);
+ void bindParamT(unsigned int i, const boost::posix_time::ptime &);
void bindNull(unsigned int i);