Class MySQLPool

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

class MySQLPool ;

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

Constructors

NameDescription
this Sets up a connection pool with the provided connection settings.

Properties

NameTypeDescription
maxConcurrency[get, set] uintForwards to vibe.d's ConnectionPool.maxConcurrency

Methods

NameDescription
lockConnection Obtain a connection. If one isn't available, a new one will be created.