poolReleaseConnection method

bool poolReleaseConnection(
  1. int connectionId
)

Releases a connection back to the pool.

The connectionId must be a connection obtained from poolGetConnection. Returns true on success, false on failure.

Implementation

bool poolReleaseConnection(int connectionId) {
  return _bindings.odbc_pool_release_connection(connectionId) == 0;
}