diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-05-02 18:41:53 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-05-02 18:41:53 +0100 |
commit | b0cf524f61e5d814fdac4018c3ff4946b9600702 (patch) | |
tree | daafd50182ad0e6cc5dd045d9c5635a74462eaff /libpqpp/command.h | |
parent | Centralize all the column reference storage logic (diff) | |
download | libdbpp-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.h | 8 |
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; |