IDBRequest object

Represents a request made against a database.

Internet Explorer 10

DOM Information

Inheritance Hierarchy

The IDBRequest does not inherit from any class or interface.

Members

The IDBRequest object has these types of members:

Methods

The IDBRequest object has these methods.

MethodDescription
addEventListener

Registers an event handler for the specified event type.

dispatchEvent

Sends an event to the current element.

removeEventListener

Removes an event handler that the addEventListener method registered.

 

Properties

The IDBRequest object has these properties.

PropertyDescription

error

Returns an object describing an error condition.

onerror

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

onsuccess

Defines a function handler for the success event, which executes when a request completes successfully.

readyState

Indicates the status of the request.

result

Returns the result of a request.

source

Returns a reference to the source of a request, such as an object store or a cursor.

transaction

Returns a reference to the transaction associated with the request.

 

Standards information

Remarks

 

 

Show:
© 2014 Microsoft