This is an object returned from transaction() calls that represents the current transaction.
abort
(callback,thisObject)
Defined by dojo/store/api/Store
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 |
commit
()
Defined by dojo/store/api/Store
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.
© 2005–2017 JS Foundation
Licensed under the AFL 2.1 and BSD 3-Clause licenses.
http://dojotoolkit.org/api/1.10/dojo/store/api/Store.Transaction.html