ddbc.drivers.pgsqlddbc

DDBC - D DataBase Connector - abstraction layer for RDBMS access, with interface similar to JDBC.

Source file ddbc/drivers/pgsqlddbc.d.

DDBC library attempts to provide implementation independent interface to different databases.

Set of supported RDBMSs can be extended by writing Drivers for particular DBs. Currently it only includes MySQL driver.

JDBC documentation can be found here: http://docs.oracle.com/javase/1.5.0/docs/api/java/sql/package-summary.html

This module contains implementation of PostgreSQL Driver

More...

Members

Classes

PGSQLConnection
class PGSQLConnection
PGSQLPreparedStatement
class PGSQLPreparedStatement

Functions

createUnitTestPGSQLDataSource
DataSource createUnitTestPGSQLDataSource()

use this data source for tests

Variables

PGSQL_TESTS_ENABLED
bool PGSQL_TESTS_ENABLED;

change to false to disable tests on real PostgreSQL server

PGSQL_UNITTEST_HOST
string PGSQL_UNITTEST_HOST;

change parameters if necessary

Detailed Description

You can find usage examples in unittest{} sections.

Meta

Authors

Vadim Lopatin