Database abstraction.
Definition base.h:53
Public read only transaction.
Definition transaction.h:26
bool active
Transaction state.
Definition transaction.h:46
TransactionID txn
Transaction inner handler.
Definition transaction.h:45
virtual ~Transaction()
Destroys transaction.
Definition transaction.cpp:75
void reset()
Resets inner transaction properties to inactive state.
Definition transaction.cpp:118
void terminate()
Terminates transaction if it was active.
Definition transaction.cpp:106
Transaction()
Constructs inactive transaction.
Definition transaction.cpp:40
const Base * parent
Pointer to the database this transaction belongs to.
Definition transaction.h:47
bool isActive() const
Returns transaction states.
Definition transaction.cpp:130
Public writable transaction.
Definition transaction.h:50
WriteTransaction()
Constructs inactive write transaction.
Definition transaction.cpp:167
void commit()
Commits transaction submitting all changes.
Definition transaction.cpp:198
void abort()
Aborts transaction cancelling all changes.
Definition transaction.cpp:189
Storage interface.
Definition storage.h:36