Readonly
dbReturns the transaction's connection.
Readonly
durabilityReadonly
errorIf the transaction was aborted, returns the error (a DOMException) providing the reason.
Readonly
modeReturns the mode the transaction was created with ("readonly" or "readwrite"), or "versionchange" for an upgrade transaction.
Readonly
objectReturns a list of the names of object stores in the transaction's scope. For an upgrade transaction this is all object stores in the database.
Optional
options: boolean | AddEventListenerOptionsOptional
options: boolean | AddEventListenerOptionsDispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
Returns an IDBObjectStore in the transaction's scope.
Optional
options: boolean | EventListenerOptionsOptional
options: boolean | EventListenerOptions
MDN Reference