summaryrefslogtreecommitdiff
path: root/libpqpp/command.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-05-02 18:41:53 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2015-05-02 18:41:53 +0100
commitb0cf524f61e5d814fdac4018c3ff4946b9600702 (patch)
treedaafd50182ad0e6cc5dd045d9c5635a74462eaff /libpqpp/command.h
parentCentralize all the column reference storage logic (diff)
downloadlibdbpp-postgresql-b0cf524f61e5d814fdac4018c3ff4946b9600702.tar.bz2
libdbpp-postgresql-b0cf524f61e5d814fdac4018c3ff4946b9600702.tar.xz
libdbpp-postgresql-b0cf524f61e5d814fdac4018c3ff4946b9600702.zip
Add support for RDBMS boolean/bit types
Diffstat (limited to 'libpqpp/command.h')
-rw-r--r--libpqpp/command.h8
1 files changed, 5 insertions, 3 deletions
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;