summaryrefslogtreecommitdiff
path: root/libmysqlpp/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-20 01:40:55 +0100
commit5ceff5fb8d1f1c9edcd53f73fe4bcc4029fc45a0 (patch)
tree676b2a3d320412b5e4b2cb28ac20e1c22c00add6 /libmysqlpp/connection.h
parentAdd override attributes (diff)
downloadlibdbpp-mysql-5ceff5fb8d1f1c9edcd53f73fe4bcc4029fc45a0.tar.bz2
libdbpp-mysql-5ceff5fb8d1f1c9edcd53f73fe4bcc4029fc45a0.tar.xz
libdbpp-mysql-5ceff5fb8d1f1c9edcd53f73fe4bcc4029fc45a0.zip
Add support for getting last insert value
Diffstat (limited to 'libmysqlpp/connection.h')
-rw-r--r--libmysqlpp/connection.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmysqlpp/connection.h b/libmysqlpp/connection.h
index a1ea6ae..3ea6be8 100644
--- a/libmysqlpp/connection.h
+++ b/libmysqlpp/connection.h
@@ -29,6 +29,8 @@ namespace MySQL {
void endBulkUpload(const char *) const override;
size_t bulkUploadData(const char *, size_t) const override;
+ int64_t insertId() const override;
+
mutable MYSQL conn;
private: