PostgreSQL Programmer's Guide
Prev | Chapter 18. libpq - C++ Binding Library | Next

# libpq++ Classes

## Connection Class: `PgConnection`

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

## 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