From fea1965942d2b48f4c0f6c50de3113cf02d6e33e 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 --- libpqpp/command.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'libpqpp/command.h') diff --git a/libpqpp/command.h b/libpqpp/command.h index e78722b..a3601c4 100644 --- a/libpqpp/command.h +++ b/libpqpp/command.h @@ -19,14 +19,16 @@ namespace PQ { 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: const std::string stmntName; -- cgit v1.2.3