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
commitfea1965942d2b48f4c0f6c50de3113cf02d6e33e (patch)
treefdd839f86f23953355fb93e1d0c0f6dba0123fbb /libpqpp/command.h
parentCentralize all the column reference storage logic (diff)
downloadlibdbpp-postgresql-fea1965942d2b48f4c0f6c50de3113cf02d6e33e.tar.bz2
libdbpp-postgresql-fea1965942d2b48f4c0f6c50de3113cf02d6e33e.tar.xz
libdbpp-postgresql-fea1965942d2b48f4c0f6c50de3113cf02d6e33e.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;