IDBFactory

The IDBFactory interface of the IndexedDB API lets applications asynchronously access the indexed databases.

MDN Reference

Functions

Link copied to clipboard
fun cmp(first: JsAny?, second: JsAny?): Short

The cmp() method of the IDBFactory interface compares two values as keys to determine equality and ordering for IndexedDB operations, such as storing and iterating.

Link copied to clipboard

The databases method of the IDBFactory interface returns a Promise that fulfills with an array of objects containing the name and version of all the available databases.

Link copied to clipboard

The deleteDatabase() method of the returns an IDBOpenDBRequest object immediately, and performs the deletion operation asynchronously.

Link copied to clipboard
fun open(name: String, version: UInt53 = definedExternally): IDBOpenDBRequest

The open() method of the IDBFactory interface requests opening a connection to a database.