diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-10-17 22:11:44 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-10-20 01:00:02 +0100 |
commit | 99b84f8cb7c19ccddee954a14798f4577e53aa07 (patch) | |
tree | 7509d372cf8ff3373be388f1e0803bed0af777ce /libsqlitepp/connection.h | |
parent | Add override attributes (diff) | |
download | libdbpp-sqlite-99b84f8cb7c19ccddee954a14798f4577e53aa07.tar.bz2 libdbpp-sqlite-99b84f8cb7c19ccddee954a14798f4577e53aa07.tar.xz libdbpp-sqlite-99b84f8cb7c19ccddee954a14798f4577e53aa07.zip |
Add support for getting last insert value
Diffstat (limited to 'libsqlitepp/connection.h')
-rw-r--r-- | libsqlitepp/connection.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libsqlitepp/connection.h b/libsqlitepp/connection.h index 95c1aac..f5e2ec4 100644 --- a/libsqlitepp/connection.h +++ b/libsqlitepp/connection.h @@ -27,6 +27,8 @@ namespace SQLite { void endBulkUpload(const char *) const override; size_t bulkUploadData(const char *, size_t) const override; + int64_t insertId() const override; + sqlite3 * db; private: |