summaryrefslogtreecommitdiff
path: root/libpqpp/connection.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-10-17 22:11:44 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2015-10-17 22:11:44 +0100
commit576e4b9894157341815ca48cb8317b71499f82df (patch)
tree3f3959304b6172116006779cccb3c1d02b111dc2 /libpqpp/connection.h
parentAdd override attributes (diff)
downloadlibdbpp-postgresql-576e4b9894157341815ca48cb8317b71499f82df.tar.bz2
libdbpp-postgresql-576e4b9894157341815ca48cb8317b71499f82df.tar.xz
libdbpp-postgresql-576e4b9894157341815ca48cb8317b71499f82df.zip
Add support for getting last insert value
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 1b2824d..40fb00e 100644
--- a/libpqpp/connection.h
+++ b/libpqpp/connection.h
@@ -23,6 +23,7 @@ namespace PQ {
DB::SelectCommand * newSelectCommand(const std::string & sql) const override;
DB::ModifyCommand * newModifyCommand(const std::string & sql) const override;
+ int64_t insertId() const override;
void beginBulkUpload(const char *, const char *) const override;
void endBulkUpload(const char *) const override;