From e267def4f9f2e47402d72b56a45924f0bd2c0a18 Mon Sep 17 00:00:00 2001 From: randomdan Date: Mon, 3 Mar 2014 20:57:27 +0000 Subject: 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 --- libodbcpp/command.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libodbcpp/command.h') 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); -- cgit v1.2.3