Export (0) Print
Expand All

IDBTransaction object

Represents a group of operations made against a database.

Internet Explorer 10

DOM Information

Inheritance Hierarchy

The IDBTransaction does not inherit from any class or interface.

Members

The IDBTransaction object has these types of members:

Methods

The IDBTransaction object has these methods.

MethodDescription
abort

Cancels a transaction.

addEventListener

Registers an event handler for the specified event type.

dispatchEvent

Sends an event to the current element.

objectStore

Returns an object store that is part of the transaction.

removeEventListener

Removes an event handler that the addEventListener method registered.

 

Properties

The IDBTransaction object has these properties.

PropertyDescription

db

The database associated with the transaction.

error

Returns an object describing an error condition.

mode

Describes the operations supported by a transaction.

onabort

Defines a function handler for the abort event, which executes when the transaction is canceled.

oncomplete

Defines a function handler for the complete event, which executes when the transaction has committed all pending operations.

onerror

Defines a function handler that is executed when an error is encountered during a request, a transaction, or other database operation.

 

Standards information

 

 

Show:
© 2014 Microsoft