closeStatement method

Future<bool> closeStatement(
  1. int stmtId
)

Closes the prepared statement stmtId in the worker.

Implementation

Future<bool> closeStatement(int stmtId) async {
  try {
    final r = await _sendRequest<BoolResponse>(
      CloseStatementRequest(_nextRequestId(), stmtId),
    );
    return r.value;
  } finally {
    _namedParamOrderByStmtId.remove(stmtId);
  }
}