mysql.pool

Connect to a MySQL/MariaDB database using vibe.d's ConnectionPool.

You have to include vibe.d in your project to be able to use this class. If you don't want to, refer to mysql.connection.Connection.

This provides various benefits over creating a new connection manually, such as automatically reusing old connections, and automatic cleanup (no need to close the connection when done).

Members

Classes

ConnectionPool
class ConnectionPool(T)

Vibe.d's ConnectionPool class.

MySQLPool
class MySQLPool

A lightweight convenience interface to a MySQL/MariaDB database using vibe.d's ConnectionPool.

Functions

cctStart
void cctStart()
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

LockedConnection
struct LockedConnection(Connection)

Vibe.d's LockedConnection struct.

Variables

cctCount
int cctCount;
Undocumented in source.
cctPool
MySQLPool cctPool;
Undocumented in source.

Meta