transaction is a helper class to start transactions within SQLite
More...
#include <transaction.hpp>
Private Member Functions |
void | exec (std::string const &) |
Detailed Description
transaction is a helper class to start transactions within SQLite
Definition at line 41 of file transaction.hpp.
Constructor & Destructor Documentation
sqlite::transaction::transaction |
( |
connection & |
con | ) |
|
constructor
- Parameters
-
con | a reference to the connection object where the transaction should be started/ended/committed or rolled back in |
sqlite::transaction::~transaction |
( |
| ) |
|
Member Function Documentation
void sqlite::transaction::begin |
( |
| ) |
|
void sqlite::transaction::commit |
( |
| ) |
|
void sqlite::transaction::end |
( |
| ) |
|
void sqlite::transaction::exec |
( |
std::string const & |
| ) |
|
|
private |
void sqlite::transaction::rollback |
( |
| ) |
|
Rolls back a transaction.
Member Data Documentation
The documentation for this struct was generated from the following file: