ddbc.common

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

Source file ddbc/common.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 which uses patched version of MYSQLN (native D implementation of MySQL connector, written by Steve Teale)

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

This module contains some useful base class implementations for writing Driver for particular RDBMS. As well it contains useful class - ConnectionPoolDataSourceImpl - which can be used as connection pool.

You can find usage examples in unittest{} sections.

Members

Classes

ColumnMetadataItem
class ColumnMetadataItem
Undocumented in source.
ConnectionPoolDataSourceImpl
class ConnectionPoolDataSourceImpl
Undocumented in source.
ConnectionWrapper
class ConnectionWrapper
Undocumented in source.
DataSourceImpl
class DataSourceImpl
Undocumented in source.
ParameterMetaDataImpl
class ParameterMetaDataImpl
Undocumented in source.
ParameterMetaDataItem
class ParameterMetaDataItem
Undocumented in source.
ResultSetImpl
class ResultSetImpl
Undocumented in source.
ResultSetMetaDataImpl
class ResultSetMetaDataImpl
Undocumented in source.

Functions

unitTestExecuteBatch
void unitTestExecuteBatch(Connection conn, string[] queries)
Undocumented in source. Be warned that the author may not have intended to support it.

Interfaces

ConnectionCloseHandler
interface ConnectionCloseHandler
Undocumented in source.

Static functions

myRemove
void myRemove(T[] array, size_t index)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta

Authors

Vadim Lopatin