fetch Connection
Acquires a database connection.
If all connections are used, this function blocks until a connection is available.
The connection should always be short-lived, consider using withTransaction otherwise.
The returned connection must be closed, with a try-with-resource, for example.
See also
Acquires a database connection.
If all connections are used, this function blocks until a connection is available.
The connection should always be short-lived, consider using withTransaction otherwise.
The returned connection must be closed, with a try-with-resource, for example.
Parameters
read Only
true
if the database only is read from, can allow some optimizations but does not prevent writing