Add transacion on database
[platform/upstream/csr-framework.git] / src / framework / db / connection.h
index 795a08f..e9e4391 100644 (file)
@@ -36,6 +36,9 @@ public:
 
        int exec(const std::string &query);
 
+       void transactionBegin();
+       void transactionEnd();
+
        inline long long getLastInsertRowId() const noexcept
        {
                return sqlite3_last_insert_rowid(m_handle);