Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

pqxx::LazyConnection Class Reference

Lazy connection class; represents a deferred connection to a database. More...

#include <connection.h>

Inheritance diagram for pqxx::LazyConnection:

pqxx::ConnectionItf List of all members.

Public Member Functions

 LazyConnection (const PGSTD::string &ConnInfo)
 Constructor. Sets up lazy connection.

 LazyConnection (const char ConnInfo[])
 Constructor. Sets up lazy connection.


Detailed Description

Lazy connection class; represents a deferred connection to a database.

This is Connection's lazy younger brother. Its constructor does not actually open a connection; the connection is only created when it is actually used.

This class is a trivial implementation of the ConnectionItf interface defined in connectionitf.h. All features of any interest to client programmers are defined there.


Constructor & Destructor Documentation

pqxx::LazyConnection::LazyConnection const PGSTD::string &    ConnInfo [explicit]
 

Constructor. Sets up lazy connection.

Parameters:
ConnInfo a PostgreSQL connection string specifying any required parameters, such as server, port, database, and password.

pqxx::LazyConnection::LazyConnection const char    ConnInfo[] [explicit]
 

Constructor. Sets up lazy connection.

Parameters:
ConnInfo a PostgreSQL connection string specifying any required parameters, such as server, port, database, and password. As a special case, a null pointer is taken as the empty string.


The documentation for this class was generated from the following file:
Generated on Sat Mar 15 20:47:41 2003 for libpqxx by doxygen1.3-rc3