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
Undocumented in source.
PGSQLDriver
class PGSQLDriver
Undocumented in source.
PGSQLPreparedStatement
class PGSQLPreparedStatement
Undocumented in source.
PGSQLResultSet
class PGSQLResultSet
Undocumented in source.
PGSQLStatement
class PGSQLStatement
Undocumented in source.

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_TESTS_ENABLED
bool PGSQL_TESTS_ENABLED;
Undocumented in source.
PGSQL_UNITTEST_DB
string PGSQL_UNITTEST_DB;
Undocumented in source.
PGSQL_UNITTEST_HOST
string PGSQL_UNITTEST_HOST;

change parameters if necessary

PGSQL_UNITTEST_PASSWORD
string PGSQL_UNITTEST_PASSWORD;
Undocumented in source.
PGSQL_UNITTEST_PORT
int PGSQL_UNITTEST_PORT;
Undocumented in source.
PGSQL_UNITTEST_USER
string PGSQL_UNITTEST_USER;
Undocumented in source.
preparedStatementIndex
ulong preparedStatementIndex;
Undocumented in source.

Detailed Description

You can find usage examples in unittest{} sections.

Meta

Authors

Vadim Lopatin