beginMultiTxnOperation Method
Begin a new multi-Txn operation. This can be used to cause a series of Txns that would normally be considered separate actions for undo to be grouped into a single undoable operation. This means that when reverseTxns(1) is called, the entire group of changes are undone together. Multi-Txn operations can be nested and until the outermost operation is closed all changes constitute a single operation.
beginMultiTxnOperation(): DbResult
@note This method must always be paired with a call to endMultiTxnAction.
Returns - DbResult
Defined in
- core/backend/src/TxnManager.ts Line 502
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.