createSavepoint method

Future<Result<Unit>> createSavepoint(
  1. String connectionId,
  2. int txnId,
  3. String name
)

Creates a savepoint within an active transaction.

The connectionId and txnId must be valid and correspond to an active transaction started with beginTransaction.

Implementation

Future<Result<Unit>> createSavepoint(
  String connectionId,
  int txnId,
  String name,
) async =>
    _repository.createSavepoint(connectionId, txnId, name);