-
-
Notifications
You must be signed in to change notification settings - Fork 668
Transaction
Represents a database transaction.
Transactions are created in the following methods and events:
The currently executing transaction is retrieved from Dexie.currentTransaction property.
True until transaction is committed or aborted.
The Dexie instance that created the transaction.
"readonly" or "readwrite"
idbtrans : IDBTransaction
Backend transaction instance
Deprecated. See Deprecations Map between table names and Table instances
Array of object store names that the Transaction can access. The list depends on which tables were given to Dexie.transaction() when starting the transaction. For upgrade transactions, all object stores will be present in this list.
The callback function passed to db.transaction(). For Transactions that has been implicitely created (Not created via db.transaction()), this property will not be set.
Abort the transaction.
Get a transaction-bound Table instance representing one of your object stores specified in Version.stores().
Create Transaction and enter transaction scope.
Initialize Database where a transaction in an Upgrade state is given to subscriber.
Upgrade Database where a transaction in an Upgrade state is given to subscriber.
Dexie.js - minimalistic and bullet proof indexedDB library