get

fun get(query: IDBValidKey): IDBRequest<*>(source)

The get() method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, finds either the value in the referenced object store that corresponds to the given key or the first corresponding value, if key is set to an IDBKeyRange.

MDN Reference


fun get(query: IDBKeyRange): IDBRequest<*>(source)