createSavepoint method

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

Creates a savepoint name within the transaction txnId in the worker.

Implementation

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