poolGetState abstract method

({int idle, int size})? poolGetState(
  1. int poolId
)

Gets the current state of the connection pool.

The poolId must be a valid pool identifier. Returns a record with pool size and idle count, or null on failure.

Implementation

({int size, int idle})? poolGetState(int poolId);