index

external fun index(name: String): IDBIndex(source)

The index() method of the IDBObjectStore interface opens a named index in the current object store, after which it can be used to, for example, return a series of records sorted by that index using a cursor.

MDN Reference