33#ifndef GUARD_SQLITE_TRANSACTION_HPP_INCLUDED
34#define GUARD_SQLITE_TRANSACTION_HPP_INCLUDED
102 void exec(std::string
const &);
transaction_type
Defines the kind of transaction to begin.
connection is used to open, close, attach and detach a database. Further it has to be passed to all c...
transaction is a helper class to start transactions within SQLite
transaction(connection &con, transaction_type type=transaction_type::undefined)
constructor
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.
void rollback()
Rolls back a transaction.
bool m_isActive
if true there is a transaction currently opened
void commit()
Commits a transaction.
void exec(std::string const &)
void end()
Ends an transaction.