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