mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
18 lines
861 B
Plaintext
18 lines
861 B
Plaintext
#import <IndexedDB/IDBCursor.idl>
|
|
|
|
[Exposed=(Window,Worker)]
|
|
interface IDBIndex {
|
|
attribute DOMString name;
|
|
[SameObject] readonly attribute IDBObjectStore objectStore;
|
|
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 query, optional [EnforceRange] unsigned long count);
|
|
[NewObject] IDBRequest getAllKeys(optional any query, optional [EnforceRange] unsigned long count);
|
|
[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");
|
|
};
|