Lines Matching full:transaction
29 #include "utils/sqlite/transaction.hpp"
42 /// Internal implementation for the transaction.
43 struct utils::sqlite::transaction::impl : utils::noncopyable {
44 /// The database this transaction belongs to.
47 /// Possible statuses of a transaction.
54 /// The current status of the transaction.
57 /// Constructs a new transaction.
59 /// \param db_ The database this transaction belongs to.
60 /// \param status_ The status of the new transaction.
67 /// Destroys the transaction.
69 /// This rolls back the transaction if it is open.
76 LW(F("Error while rolling back a transaction: %s") % e.what()); in ~impl()
81 /// Commits the transaction.
84 /// transaction.
93 /// Rolls the transaction back.
96 /// transaction back.
107 /// Initializes a transaction object.
112 /// \param db The database this transaction belongs to.
113 sqlite::transaction::transaction(database& db) : in transaction() function in sqlite::transaction
119 /// Destructor for the transaction.
120 sqlite::transaction::~transaction(void) in ~transaction()
125 /// Commits the transaction.
127 /// \throw api_error If there is any problem while committing the transaction.
129 sqlite::transaction::commit(void) in commit()
135 /// Rolls the transaction back.
137 /// \throw api_error If there is any problem while rolling the transaction back.
139 sqlite::transaction::rollback(void) in rollback()