get method

IDBRequest get(
  1. JSAny? query
)

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.

If a value is found, then a structured clone of it is created and set as the result of the request object: this returns the record the key is associated with.

Implementation

external IDBRequest get(JSAny? query);