IDBRequest

open class IDBRequest<T : JsAny?> : EventTarget(source)

The IDBRequest interface of the IndexedDB API provides access to results of asynchronous requests to databases and database objects using event handler attributes.

MDN Reference

Inheritors

Properties

Link copied to clipboard

The error read-only property of the request.

Link copied to clipboard

The readyState read-only property of the Every request starts in the pending state.

Link copied to clipboard
val result: T

The result read-only property of the any - InvalidStateError DOMException - : Thrown when attempting to access the property if the request is not completed, and therefore the result is not available.

Link copied to clipboard

The source read-only property of the Index or an object store.

Link copied to clipboard

The transaction read-only property of the IDBRequest interface returns the transaction for the request, that is, the transaction the request is being made inside.

Functions

Link copied to clipboard
Link copied to clipboard