cancelStatement abstract method
Requests cancellation of an in-flight prepared statement.
Experimental: native statement cancellation is not fully implemented
in the Rust engine. The call may return UnsupportedFeatureError on many
drivers. For reliable query interruption, prefer
ConnectionOptions.queryTimeout, which maps to the driver's native
SQL_ATTR_QUERY_TIMEOUT where supported.
Implementation
@experimental
Future<Result<void>> cancelStatement(
String connectionId,
int stmtId,
);