This is libpqxxobject, a library providing database access
functionality to C++ classes.

libpqxx is a C++ library providing access to PostgreSQL databases.  It
includes objects representing database connections, transactions and
result sets.  These may be used to connect to databases, execute
queries and process result sets.  However, if it is desirable to
separate database work from the application logic, another layer is
required.  libpqxx version 2.1.0 or greater is required.

libpqxxobject contains a transaction class, representing operations
on a database.  It is a thin wrapper around pqxx::transaction<>, with
some useful enhancements, such as auto-commit and persistent
transaction modes.  In addition a table<> template class represents a
database table, and row objects (defined by the user) represent rows
in the table.  Finally, a RowConvert template class is used to convert
result set data into real C++ objects and C++ objects to database
insertions, updates and deletions.

In summary, libpqxxobject allows an application to wrap the database
logic in C++ classes, so the programmer can use the objects without
needing to know about (or understand) the database interaction
occurring "behind the scenes".  This can make the code much more
readable, and can constrain the database operations that can be
performed with each C++ object.

The API is documented using Doxygen, and is in the doc/ directory.

A tutorial, with example working code, is in the tutorial/ directory.

The source code is in the pqxxobject/ directory.


I hope you find libpqxxobject useful!  If you have any comments,
suggestions, or patches, please mail me.

Roger Leigh <rleigh@debian.org>


Local Variables:
Mode: text
End:
