class js.html.idb.Request extends EventTarget

Available on js

The IDBRequest interface of the IndexedDB API provides access to results of asynchronous requests to databases and database objects using event handler attributes. Each reading and writing operation on a database is done using a request.

The request object does not initially contain any information about the result of the operation, but once information becomes available, an event is fired on the request, and the information becomes available through the properties of the IDBRequest instance.

Inherits from: EventTarget



Documentation for this class was provided by MDN.

Instance Fields

var error:DOMError

Getter throws DatabaseException.

var errorCode:Int

Getter throws DatabaseException.

var errorMessage:String

Getter throws DatabaseException.

var result:Any

Getter throws DatabaseException.