PostgresClient

A Postgres client with connection pooling.

Constructors

this
this(string connString, uint connNum, void delegate(Connection) afterStartConnectOrReset = null)
this
this(Connection delegate(in ClientSettings) @safe connFactory, immutable ClientSettings cs, uint connNum)
this
this(Connection delegate() const pure @safe connFactory, uint connNum)

Members

Functions

createConnection
Connection createConnection(in ClientSettings cs)
lockConnection
LockedConnection lockConnection()

Get connection from the pool.

Meta