diff options
author | randomdan <randomdan@localhost> | 2014-03-03 20:57:27 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2014-03-03 20:57:27 +0000 |
commit | e267def4f9f2e47402d72b56a45924f0bd2c0a18 (patch) | |
tree | 3384c10e1dbd84247c6d9429ffe3fab4ae398a48 /libodbcpp/command.h | |
parent | Fix slice scanner and split .ice files back into logical blocks (diff) | |
download | libdbpp-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.h | 5 |
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); |