savepointRollback method

bool savepointRollback(
  1. int txnId,
  2. String name
)
inherited

Rolls back to a savepoint. The transaction remains active.

The txnId must be a valid transaction identifier. Returns true on success, false on failure.

Implementation

bool savepointRollback(int txnId, String name) {
  final namePtr = _sqlCache.acquire(name);
  return _bindings.odbc_savepoint_rollback(txnId, namePtr) == 0;
}