PostgreSQL 7.1.3 Documentation
Prev | Chapter 3. libpq++ - C++ Binding Library | Next

# 3.2. libpq++ Classes

## 3.2.1. Connection Class: `PgConnection`

The connection class makes the actual connection to the database and is inherited by all of the access classes.

## 3.2.2. Database Class: `PgDatabase`

The database class provides C++ objects that have a connection to a backend server. To create such an object one first needs the apropriate environment for the backend to access. The following constructors deal with making a connection to a backend server from a C++ program.

Prev | Home | Next
libpq++ - C++ Binding Library | Up | Database Connection Functions