closeStatement method

Future<Result<Unit>> closeStatement(
  1. String connectionId,
  2. int stmtId
)

Closes and releases a prepared statement.

The connectionId and stmtId must be valid and correspond to a statement prepared with prepare.

Implementation

Future<Result<Unit>> closeStatement(
  String connectionId,
  int stmtId,
) async =>
    _repository.closeStatement(connectionId, stmtId);