0 out of 1 rated this helpful - Rate this topic

IDBTransaction object

Represents a group of operations made against a database.

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.

objectStore

Returns an object store that is part of the transaction.

 

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

 

 

Build date: 11/22/2012

© 2013 Microsoft. All rights reserved.