This is an object returned from transaction() calls that represents the current transaction.
Aborts the transaction. This may throw an error if it fails. Of if the operation is asynchronous, it may return a promise that represents the eventual success or failure of the abort.
Parameter | Type | Description |
---|---|---|
callback | undefined | |
thisObject | undefined |
Commits the transaction. This may throw an error if it fails. Of if the operation is asynchronous, it may return a promise that represents the eventual success or failure of the commit.