WebKittens
@marcoscaceres
Title of the proposal
Add IndexedDB getAllRecords() method and update getAll()/getAllKeys() to support direction option
URL to the spec
w3c/IndexedDB#461
URL to the spec's repository
https://github.com/w3c/IndexedDB
Issue Tracker URL
No response
Explainer URL
https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/IndexedDbGetAllEntries/explainer.md
TAG Design Review URL
w3ctag/design-reviews#1117
Mozilla standards-positions issue URL
mozilla/standards-positions#1261
WebKit Bugzilla URL
No response
Radar URL
No response
Description
Adds the getAllRecords() method to IDBObjectStore and IDBIndex, which combines getAll() and getAllKeys() to produce results that include the key, value, and index key through a single operation. Adds a direction option to getAllRecords(), getAll(), and getAllKeys(), which enables new query patterns like retrieving the last 10 records or performing batch iteration in reverse.
WebKittens
@marcoscaceres
Title of the proposal
Add IndexedDB getAllRecords() method and update getAll()/getAllKeys() to support direction option
URL to the spec
w3c/IndexedDB#461
URL to the spec's repository
https://github.com/w3c/IndexedDB
Issue Tracker URL
No response
Explainer URL
https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/IndexedDbGetAllEntries/explainer.md
TAG Design Review URL
w3ctag/design-reviews#1117
Mozilla standards-positions issue URL
mozilla/standards-positions#1261
WebKit Bugzilla URL
No response
Radar URL
No response
Description
Adds the getAllRecords() method to IDBObjectStore and IDBIndex, which combines getAll() and getAllKeys() to produce results that include the key, value, and index key through a single operation. Adds a direction option to getAllRecords(), getAll(), and getAllKeys(), which enables new query patterns like retrieving the last 10 records or performing batch iteration in reverse.