#include <dbtransaction.hxx>
Inheritance diagram for pqxx::dbtransaction:
Protected Member Functions | |
dbtransaction (connection_base &, const PGSTD::string &IsolationString) | |
dbtransaction (connection_base &, bool direct=true) | |
virtual | ~dbtransaction () |
void | start_backend_transaction () |
Start a transaction on the backend and set desired isolation level. | |
virtual void | do_begin () |
Sensible default implemented here: begin backend transaction. | |
virtual result | do_exec (const char Query[]) |
Sensible default implemented here: perform query. | |
virtual void | do_commit ()=0 |
To be implemented by derived class: commit backend transaction. | |
virtual void | do_abort () |
Sensible default implemented here: abort backend transaction. | |
Static Protected Member Functions | |
static PGSTD::string | fullname (const PGSTD::string &ttype, const PGSTD::string &isolation) |
|
|
|
|
|
|
|
Sensible default implemented here: abort backend transaction. Default implementation does two things:
Implements pqxx::transaction_base. |
|
Sensible default implemented here: begin backend transaction.
Implements pqxx::transaction_base. |
|
To be implemented by derived class: commit backend transaction.
Implements pqxx::transaction_base. |
|
Sensible default implemented here: perform query.
Implements pqxx::transaction_base. |
|
|
|
Start a transaction on the backend and set desired isolation level.
|