poolReleaseConnection method

Future<Result<Unit>> poolReleaseConnection(
  1. String connectionId
)

Releases a connection back to its pool.

The connectionId must be a valid connection ID obtained from poolGetConnection. After releasing, the connection can be reused by other operations.

Implementation

Future<Result<Unit>> poolReleaseConnection(String connectionId) async =>
    _repository.poolReleaseConnection(connectionId);