recyclePoolElement method

Implementation

@override
PostgreSQLConnectionWrapper? recyclePoolElement(
    PostgreSQLConnectionWrapper o) {
  if (o is PostgreSQLConnectionTransactionWrapper) {
    return null;
  }

  var valid = isPoolElementValid(o);
  if (!valid) {
    return null;
  }

  return o;
}