ladybird/Libraries/LibWeb/IndexedDB/IDBCursor.idl
2024-11-26 14:50:27 +01:00

22 lines
736 B
Text

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