projects
/
platform
/
upstream
/
csr-framework.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add transacion on database
[platform/upstream/csr-framework.git]
/
src
/
framework
/
db
/
connection.h
diff --git
a/src/framework/db/connection.h
b/src/framework/db/connection.h
index
795a08f
..
e9e4391
100644
(file)
--- a/
src/framework/db/connection.h
+++ b/
src/framework/db/connection.h
@@
-36,6
+36,9
@@
public:
int exec(const std::string &query);
int exec(const std::string &query);
+ void transactionBegin();
+ void transactionEnd();
+
inline long long getLastInsertRowId() const noexcept
{
return sqlite3_last_insert_rowid(m_handle);
inline long long getLastInsertRowId() const noexcept
{
return sqlite3_last_insert_rowid(m_handle);