#include <nontransaction.h>
Inheritance diagram for pqxx::NonTransaction:

| Public Methods | |
| NonTransaction (Connection &C, PGSTD::string NName=PGSTD::string()) | |
| Constructor. | |
| virtual | ~NonTransaction () | 
NonTransaction, like Transaction or any other TransactionItf-derived class, provides access to a database through a Connection. Unlike its siblings, however, NonTransaction does not maintain any kind of transactional integrity. This may be useful eg. for read-only access to the database that does not require a consistent, atomic view on its data. As a side effect, you can keep a NonTransaction open for as long as you like. Actual back-end transactions are limited in lifespan, and will sometimes fail just because they took to long to execute.
| 
 | ||||||||||||
| Constructor. Create a "dummy" transaction. 
 | 
| 
 | 
| 
 | 
 1.3-rc1
1.3-rc1