cszawisza / sqlpp11-connector-postgresql

PostgreSQL connector for sqlpp11 library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sqlpp11-connector-postgresql

Build Status

PostgreSQL connector for sqlpp11 library

Fork Info

This is a fork of the sqlpp11-connector-postgresql repository by matthijs. It adds the following features:

  • impement a "dynamic loading" variant which loads the libpq library using dlopen / LoadLibrary. Link agsinst the sqlpp-postgresql-dynamic.so library (and other connectors, e.g. sqlpp-sqlite3-dynamic) to support both databases in one binary without requiring all the different database client libraries to be installed.

  • implement sqlpp11 std::chrono / "Hinnant Date" based date/time handling

  • implement support for setting isolation levels for transactions

  • implements missing connection::execute() function

  • implemented "integration tests" that will work with a local PostgreSQL DB where a database with the name "$USER" is present and the $USER can login via "peer" authentication. Use "cmake -DENABLE_TESTS=True ..." to build tests.

  • some minor cleanups and optimizations

About

PostgreSQL connector for sqlpp11 library

License:BSD 2-Clause "Simplified" License


Languages

Language:C++ 90.1%Language:CMake 6.0%Language:Python 2.8%Language:C 1.1%