cancelStatement method

bool cancelStatement(
  1. int stmtId
)

Cancels a prepared statement execution.

The stmtId must be a valid prepared statement identifier. Returns true on success, false on failure.

Implementation

bool cancelStatement(int stmtId) {
  return _bindings.odbc_cancel(stmtId) == 0;
}