From 1ade888ed97c316739f7bbab638d96831fe61303 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 2 May 2015 18:41:53 +0100 Subject: Add support for RDBMS boolean/bit types --- libmysqlpp/command.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'libmysqlpp/command.h') diff --git a/libmysqlpp/command.h b/libmysqlpp/command.h index 21a2e09..72828e0 100644 --- a/libmysqlpp/command.h +++ b/libmysqlpp/command.h @@ -19,14 +19,16 @@ namespace MySQL { void bindParamI(unsigned int, long unsigned int); void bindParamI(unsigned int, long long unsigned int); + void bindParamB(unsigned int, bool); + void bindParamF(unsigned int, double); void bindParamF(unsigned int, float); - + void bindParamS(unsigned int, const Glib::ustring&); - + void bindParamT(unsigned int, const boost::posix_time::time_duration &); void bindParamT(unsigned int, const boost::posix_time::ptime &); - + void bindNull(unsigned int); protected: void bindParams(); -- cgit v1.2.3