#include <dbixx.h>
Public Member Functions | |
transaction (session &s) | |
void | commit () |
void | rollback () |
~transaction () |
It automatically rollbacks the transaction during stack unwind if it wasn't committed
dbixx::transaction::transaction | ( | session & | s | ) | [inline] |
Begin transaction on session s
dbixx::transaction::~transaction | ( | ) |
If commit wasn't called, calls rollback()
void dbixx::transaction::commit | ( | ) |
Commit translation to database
void dbixx::transaction::rollback | ( | ) |
Rollbacks the transaction