|
RhythmGame 1.4.3
|
Isolates a transaction from other users of this connection. More...
#include <SqliteCppDb.h>
Public Member Functions | |
| Transaction (SqliteCppDb *database) | |
| ~Transaction () | |
| void | commit () |
Isolates a transaction from other users of this connection.
Nested transactions use savepoints. Uncommitted changes are rolled back on destruction. Keep transactions on their creating thread and do not wait for other threads or dispatch callbacks while holding one. The database must outlive the transaction. Finish nested scopes inside out.
|
explicit |
| db::SqliteCppDb::Transaction::~Transaction | ( | ) |
| void db::SqliteCppDb::Transaction::commit | ( | ) |