getKey method
The getKey()
method of the IDBIndex
interface returns an IDBRequest object, and, in a separate thread,
finds either the primary key that corresponds to the given key in this
index or the
first corresponding primary key, if key
is set to an
IDBKeyRange.
If a primary key is found, it is set as the result
of the request
object.
Note that this doesn't return the whole record as IDBIndex.get does.
Implementation
external IDBRequest getKey(JSAny? query);