getConnection method

int getConnection()

Gets a connection from the pool.

Returns a connection ID on success, 0 on failure.

Implementation

int getConnection() => _backend.poolGetConnection(_poolId);