1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-08 05:27:14 +09:00
ladybird/Libraries/LibWeb/IndexedDB/IDBCursor.idl
2025-05-13 10:48:40 -06:00

22 lines
689 B
Text

#import <IndexedDB/IDBRequest.idl>
[Exposed=(Window,Worker)]
interface IDBCursor {
[ImplementedAs=source_handle] readonly attribute (IDBObjectStore or IDBIndex) source;
readonly attribute IDBCursorDirection direction;
readonly attribute any key;
readonly attribute any primaryKey;
[SameObject] readonly attribute IDBRequest request;
undefined advance([EnforceRange] unsigned long count);
undefined continue(optional any key);
undefined continuePrimaryKey(any key, any primaryKey);
[NewObject] IDBRequest update(any value);
[NewObject] IDBRequest delete();
};
enum IDBCursorDirection {
"next",
"nextunique",
"prev",
"prevunique"
};