From 44b536cd5195a5497c13b39de54f40d2c5ab8562 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 --- libsqlitepp/command.cpp | 5 +++++ libsqlitepp/command.h | 2 ++ 2 files changed, 7 insertions(+) (limited to 'libsqlitepp') diff --git a/libsqlitepp/command.cpp b/libsqlitepp/command.cpp index ce2758b..4e24426 100644 --- a/libsqlitepp/command.cpp +++ b/libsqlitepp/command.cpp @@ -81,6 +81,11 @@ SQLite::Command::bindParamS(unsigned int n, const Glib::ustring & s) } } void +SQLite::Command::bindParamB(unsigned int, bool) +{ + throw Error("Not supported"); +} +void SQLite::Command::bindParamT(unsigned int, const boost::posix_time::time_duration &) { throw Error("Not supported"); diff --git a/libsqlitepp/command.h b/libsqlitepp/command.h index ee099e1..f1d12e9 100644 --- a/libsqlitepp/command.h +++ b/libsqlitepp/command.h @@ -18,6 +18,8 @@ namespace SQLite { void bindParamI(unsigned int, long unsigned int) override; void bindParamI(unsigned int, long long unsigned int) override; + void bindParamB(unsigned int, bool) override; + void bindParamF(unsigned int, double) override; void bindParamF(unsigned int, float) override; -- cgit v1.2.3