rollbackToSavepoint method

Future<bool> rollbackToSavepoint(
  1. int txnId,
  2. String name
)

Rolls back to savepoint name in transaction txnId. Transaction stays active.

Implementation

Future<bool> rollbackToSavepoint(int txnId, String name) async {
  final r = await _sendRequest<BoolResponse>(
    SavepointRollbackRequest(_nextRequestId(), txnId, name),
  );
  return r.value;
}