Description
こんにちは TAG-さん!
I'm requesting a TAG review of the getAllRecords() method and the direction option for IndexedDB.
Proposes a new operation, getAllRecords(), which combines getAllKeys() with getAll() to enumerate both primary keys and values at the same time. For an IDBIndex, getAllRecords() also provides the record's index key in addition to the primary key and value. Lastly, getAllRecords() offers a new direction option to enumerate records sorted by key in descending order. To add the direction option to the existing getAll() and getAllKeys() operations, this explainer proposes new function overloads that accept the same argument as getAllRecords(): the IDBGetAllOptions dictionary.
- Explainer¹: https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/IndexedDbGetAllEntries/explainer.md
- Specification: Add getAllRecords() method and update getAll()/getAllKeys() to support direction option w3c/IndexedDB#461
- WPT Tests: https://wpt.fyi/results/IndexedDB?label=master&label=experimental&aligned&q=getallrecords
- User research:
- Security and Privacy self-review²: N/A
- GitHub repo: https://github.com/w3c/IndexedDB/
- Primary contacts:
- Steve Becker (@SteveBeckerMSFT), Microsoft, Author
- Evan Stade (@evanstade), Microsoft
- Organization/project driving the specification: Microsoft
- This work is being funded by: Microsoft
- Primary standards group developing this feature: IndexedDB WG
- Incubation and standards groups that have discussed the design:
- Multi-stakeholder support³:
- Chromium comments: Supprotive
- Mozilla comments: Add IndexedDB getAllRecords() method and update getAll()/getAllKeys() to support direction option mozilla/standards-positions#1261
- WebKit comments: Add IndexedDB getAllRecords() method and update getAll()/getAllKeys() to support direction option WebKit/standards-positions#521
- Major unresolved issues with or opposition to this specification: None
- Status/issue trackers for implementations⁴: https://chromestatus.com/feature/5124331450138624
Further details:
- I have reviewed the TAG's Web Platform Design Principles
- Previous early design review, if any: N/A
- Relevant time constraints or deadlines: N/A
Track conversations at https://tag-github-bot.w3.org/gh/w3ctag/design-reviews/1117