Module 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
.
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).
Classes
Name | Description |
---|---|
ConnectionPool
|
Vibe.d's ConnectionPool class. |
MySQLPool
|
A lightweight interface to a MySQL/MariaDB database using vibe.d's ConnectionPool. |
Structs
Name | Description |
---|---|
LockedConnection
|
Vibe.d's LockedConnection struct. |