Truly independent web browser
[Exposed=(Window,Worker), ImplementedIn=Rust]
interface IDBIndex {
attribute DOMString name;
[SameObject] readonly attribute IDBObjectStore objectStore;
[ImplementedAs=key_path_value, NeedsCallerRealm] readonly attribute any keyPath;
readonly attribute boolean multiEntry;
readonly attribute boolean unique;
[NewObject] IDBRequest get(any query);
[NewObject] IDBRequest getKey(any query);
[NewObject] IDBRequest getAll(optional any queryOrOptions, optional [EnforceRange] unsigned long count);
[NewObject] IDBRequest getAllKeys(optional any queryOrOptions, optional [EnforceRange] unsigned long count);
[NewObject] IDBRequest getAllRecords(optional IDBGetAllOptions options = {});
[NewObject] IDBRequest count(optional any query);
[NewObject] IDBRequest openCursor(optional any query, optional IDBCursorDirection direction = "next");
[NewObject] IDBRequest openKeyCursor(optional any query, optional IDBCursorDirection direction = "next");
};