From 1b6aaca3c5eb7e58ebc54242cb76ebe712e2821a 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 --- libpqpp/command.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libpqpp/command.h') 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: -- cgit v1.2.3