#include <transactionitf.h>
Inheritance diagram for pqxx::TransactionItf:
Public Member Functions | |
virtual | ~TransactionItf ()=0 |
void | Commit () |
void | Abort () |
Result | Exec (const char[]) |
Execute query directly. | |
Result | Exec (const PGSTD::string &Q) |
Execute query directly. | |
void | ProcessNotice (const char Msg[]) |
void | ProcessNotice (const PGSTD::string &Msg) |
PGSTD::string | Name () const |
Protected Member Functions | |
TransactionItf (Connection &, const PGSTD::string &TName=PGSTD::string()) | |
void | Begin () |
void | End () throw () |
End transaction. To be called by implementing class' destructor. | |
virtual void | DoBegin ()=0 |
To be implemented by derived implementation class. | |
virtual Result | DoExec (const char C[])=0 |
virtual void | DoCommit ()=0 |
virtual void | DoAbort ()=0 |
Result | DirectExec (const char C[], int Retries, const char OnReconnect[]) |
Execute query on connection directly. | |
Connection & | Conn () const |
Friends | |
class | Cursor |
class | TableStream |
class | TableReader |
class | TableWriter |
All database access must be channeled through one of these classes for safety, although not all implementations of this interface need to provide full transactional integrity.
|
|
|
Create a transaction. The optional name, if given, must begin with a letter and may contain letters and digits only. |
|
|
|
Begin transaction. To be called by implementing class, typically from constructor. |
|
|
|
|
|
Execute query on connection directly.
|
|
|
|
To be implemented by derived implementation class.
|
|
|
|
|
|
End transaction. To be called by implementing class' destructor.
|
|
Execute query directly.
|
|
Execute query directly.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|