cancelStatement method

bool cancelStatement(
  1. int stmtId
)
inherited

Requests cancellation of a prepared statement execution.

Returns true on success, false when cancellation fails or is unsupported.

Implementation

bool cancelStatement(int stmtId) => _captureSync(
      'cancelStatement',
      () => _native.cancelStatement(stmtId),
      failed: (value) => !value,
    );