IDBOpenDBRequest

sealed external class IDBOpenDBRequest : IDBRequest<IDBDatabase> (source)

Also inherits methods from its parents IDBRequest and EventTarget.

MDN Reference

Properties

Link copied to clipboard

When a request is completed, returns the error (a DOMException), or null if the request succeeded. Throws a "InvalidStateError" DOMException if the request is still pending.

Link copied to clipboard

Returns "pending" until a request is complete, then returns "done".

Link copied to clipboard

When a request is completed, returns the result, or undefined if the request failed. Throws a "InvalidStateError" DOMException if the request is still pending.

Link copied to clipboard
val source: Any

Returns the IDBObjectStore, IDBIndex, or IDBCursor the request was made against, or null if is was an open request.

Link copied to clipboard

Returns the IDBTransaction the request was made within. If this as an open request, then it returns an upgrade transaction while it is running, or null otherwise.

Functions

Link copied to clipboard