3 #ifndef __SQLITEXX_SQLITE_TRANSACTION_H__
4 #define __SQLITEXX_SQLITE_TRANSACTION_H__
virtual ~transaction() noexcept
Destructor.
means that no database connection will be able to write to the database or do a BEGIN IMMEDIATE/EXCLU...
exclusive_transaction(dbconnection &connection)
Implements a strictly scope-based SQLite exclusive transaction.
transaction(dbconnection &connection, const transactiontype type)
Implements a strictly scope-based SQLite transaction.
RAII encapsulation of the SQLite Transactions.
virtual void commit()
Commit the transaction.
RAII encapsulation of the SQLite deferred transaction.
means that no other database connection except for read_uncommitted connection will be able to read/w...
means that no locks are acquired on the database until the database is first accessed.
deferred_transaction(dbconnection &connection)
Implements a strictly scope-based SQLite deferred transaction.
RAII encapsulation of the SQLite immediate transaction.
immediate_transaction(dbconnection &connection)
Implements a strictly scope-based SQLite immediate transaction.
Class that represents a connection to a database.
transactiontype
Used to specify the different types of SQLite transactions.
RAII encapsulation of the SQLite exclusive transaction.