RhythmGame 1.4.3
Loading...
Searching...
No Matches
Public Member Functions | List of all members
db::SqliteCppDb::Transaction Class Reference

Isolates a transaction from other users of this connection. More...

#include <SqliteCppDb.h>

Public Member Functions

 Transaction (SqliteCppDb *database)
 
 ~Transaction ()
 
void commit ()
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ Transaction()

db::SqliteCppDb::Transaction::Transaction ( SqliteCppDb *  database)
explicit

◆ ~Transaction()

db::SqliteCppDb::Transaction::~Transaction ( )

Member Function Documentation

◆ commit()

void db::SqliteCppDb::Transaction::commit ( )

The documentation for this class was generated from the following files: