summaryrefslogtreecommitdiff
path: root/libpqpp/connection.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-05-27 00:20:28 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2015-05-27 00:20:28 +0100
commit59f271ee0b0ef5171150cae8f70defa7b78215b5 (patch)
treece15d86d422f5918d1157587944d7b537e5eaa51 /libpqpp/connection.h
parentAdd support for RDBMS boolean/bit types (diff)
downloadlibdbpp-postgresql-59f271ee0b0ef5171150cae8f70defa7b78215b5.tar.bz2
libdbpp-postgresql-59f271ee0b0ef5171150cae8f70defa7b78215b5.tar.xz
libdbpp-postgresql-59f271ee0b0ef5171150cae8f70defa7b78215b5.zip
Override Connection::execute with a specific version that doesn't involve the roundtrip to prepare a statement for one time use only
Diffstat (limited to 'libpqpp/connection.h')
-rw-r--r--libpqpp/connection.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libpqpp/connection.h b/libpqpp/connection.h
index 59c5858..a2cabce 100644
--- a/libpqpp/connection.h
+++ b/libpqpp/connection.h
@@ -16,6 +16,7 @@ namespace PQ {
int rollbackTx() const;
bool inTx() const;
void ping() const;
+ void execute(const std::string & sql) const override;
DB::BulkDeleteStyle bulkDeleteStyle() const;
DB::BulkUpdateStyle bulkUpdateStyle() const;