poolGetConnection method

int poolGetConnection(
  1. int poolId
)

Gets a connection from the pool.

The poolId must be a valid pool identifier. Returns a connection ID on success, 0 on failure.

Implementation

int poolGetConnection(int poolId) {
  return _bindings.odbc_pool_get_connection(poolId);
}