LibWeb/IDB: Implement IDBObjectStore::index

This commit is contained in:
stelar7 2025-04-01 18:43:29 +02:00 committed by Andrew Kaster
commit fce936e05a
Notes: github-actions[bot] 2025-04-09 17:50:32 +00:00
3 changed files with 26 additions and 1 deletions

View file

@ -21,7 +21,7 @@ interface IDBObjectStore {
[FIXME, NewObject] IDBRequest count(optional any query);
[FIXME, NewObject] IDBRequest openCursor(optional any query, optional IDBCursorDirection direction = "next");
[FIXME, NewObject] IDBRequest openKeyCursor(optional any query, optional IDBCursorDirection direction = "next");
[FIXME] IDBIndex index(DOMString name);
IDBIndex index(DOMString name);
[NewObject] IDBIndex createIndex(DOMString name, (DOMString or sequence<DOMString>) keyPath, optional IDBIndexParameters options = {});
[FIXME] undefined deleteIndex(DOMString name);
};