Class MySQLPool
A lightweight interface 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.
Inherits from
-
Object(base class)
Constructors
| Name | Description |
|---|---|
this
|
Sets up a connection pool with the provided connection settings. |
Properties
| Name | Type | Description |
|---|---|---|
maxConcurrency
[get, set]
|
uint |
Forwards to vibe.d's ConnectionPool.maxConcurrency |
Methods
| Name | Description |
|---|---|
lockConnection
|
Obtain a connection. If one isn't available, a new one will be created. |