Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members
pqxx::NonTransaction Class Reference
Simple "Transaction" class offering no transactional integrity.
More...
#include <nontransaction.h>
Inheritance diagram for pqxx::NonTransaction:
List of all members.
Detailed Description
Simple "Transaction" class offering no transactional integrity.
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.
Constructor & Destructor Documentation
pqxx::NonTransaction::NonTransaction |
( |
Connection & |
C, |
|
|
PGSTD::string |
NName = PGSTD::string() |
|
) |
[explicit] |
|
|
Constructor.
Create a "dummy" transaction. -
Parameters:
-
C |
the Connection that this "transaction" will operate on. |
NName |
an optional name for the transaction, beginning with a letter and containing only letters and digits. |
|
pqxx::NonTransaction::~NonTransaction |
( |
|
) |
[virtual] |
|
The documentation for this class was generated from the following files:
Generated on Sat Aug 10 21:52:39 2002 for libpqxx by
1.2.16