|
Darwin Neuroevolution Framework
|
A scope-based transaction guard. More...
#include <database.h>
Public Member Functions | |
| TransactionScope (Connection &databaseTransaction, TransactionOption option=TransactionOption::Deferred) | |
| Creates a transaction guard. | |
| ~TransactionScope () | |
| Unless the transaction was explicitly committed, it will rollback. More... | |
| void | commit () |
| Explicitly commit the transaction. | |
| void | rollback () |
| Explicitly rolls back the transaction. | |
A scope-based transaction guard.
| db::TransactionScope::~TransactionScope | ( | ) |
Unless the transaction was explicitly committed, it will rollback.
1.8.14