Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

pqxx::basic_connection< CONNECTPOLICY > Class Template Reference

#include <connection_base.hxx>

Inheritance diagram for pqxx::basic_connection< CONNECTPOLICY >:

pqxx::connection_base List of all members.

Public Member Functions

 basic_connection ()
 Open a connection with default connection parameters.
template<typename STRING>
 basic_connection (const STRING &ConnStr)
 ~basic_connection ()

template<typename CONNECTPOLICY>
class pqxx::basic_connection< CONNECTPOLICY >


Constructor & Destructor Documentation

template<typename CONNECTPOLICY>
pqxx::basic_connection< CONNECTPOLICY >::basic_connection  ) 
 

Open a connection with default connection parameters.

template<typename CONNECTPOLICY>
template<typename STRING>
pqxx::basic_connection< CONNECTPOLICY >::basic_connection const STRING &  ConnStr  ) 
 

Parameters:
ConnStr 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 string may be a C++ string object or a C-style character array.
The README file for libpqxx gives a quick overview of how connection strings work; see the PostgreSQL documentation (particularly for libpq, the C-level interface) for a complete list.

template<typename CONNECTPOLICY>
pqxx::basic_connection< CONNECTPOLICY >::~basic_connection  ) 
 


The documentation for this class was generated from the following file:
Generated on Sun Dec 5 21:56:41 2004 for libpqxx by  doxygen 1.3.9.1