commitTransaction method

Future<void> commitTransaction(
  1. int txnId
)

Implementation

Future<void> commitTransaction(int txnId) async {
  await append(WalOp.commitTxn, '_txn', {'txnId': txnId}, txnId: txnId);
  _currentTxnId = 0;
}