33 #ifndef GUARD_SQLITE_TRANSACTION_HPP_INCLUDED 34 #define GUARD_SQLITE_TRANSACTION_HPP_INCLUDED 102 void exec(std::string
const &);
108 #endif //GUARD_SQLITE_TRANSACTION_HPP_INCLUDED connection is used to open, close, attach and detach a database. Further it has to be passed to all c...
transaction_type
Defines the kind of transaction to begin.
void exec(std::string const &)
void commit()
Commits a transaction.
void rollback()
Rolls back a transaction.
transaction(connection &con, transaction_type type=transaction_type::undefined)
constructor
void end()
Ends an transaction.
transaction is a helper class to start transactions within SQLite
bool isActive() const
Allow to check if transaction handled by this object is currently active.
void begin(transaction_type type=transaction_type::undefined)
Starts a transaction.
bool m_isActive
if true there is a transaction currently opened