diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-29 04:35:17 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-29 06:00:07 +0000 |
commit | a332399e83efe03ae4f203b89141f6af0d19e60b (patch) | |
tree | 318240be9733e5e4dfcd527126cc9ec3751a3cc5 /libsqlitepp/sqlite-connection.cpp | |
parent | Non-const command getters (diff) | |
download | libdbpp-sqlite-a332399e83efe03ae4f203b89141f6af0d19e60b.tar.bz2 libdbpp-sqlite-a332399e83efe03ae4f203b89141f6af0d19e60b.tar.xz libdbpp-sqlite-a332399e83efe03ae4f203b89141f6af0d19e60b.zip |
Non-const insertId
Diffstat (limited to 'libsqlitepp/sqlite-connection.cpp')
-rw-r--r-- | libsqlitepp/sqlite-connection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsqlitepp/sqlite-connection.cpp b/libsqlitepp/sqlite-connection.cpp index a4c10b7..a284a2e 100644 --- a/libsqlitepp/sqlite-connection.cpp +++ b/libsqlitepp/sqlite-connection.cpp @@ -111,7 +111,7 @@ SQLite::Connection::newModifyCommand(const std::string & sql) } int64_t -SQLite::Connection::insertId() const +SQLite::Connection::insertId() { return sqlite3_last_insert_rowid(db); } |