https://github.com/w3c/IndexedDB/issues/376
The new IDBObjectStore.batchGetAll() and IDBIndex.batchGetAll() will execute multiple getAll()s in one query to avoid the request overhead of a burst of small queries.
Currently, IDBObjectStore.getAll() and IDBIndex.getAll() takes an IDBKeyRange and returns an array of IDBValue. If a developer has the need to retrieve from multiple IDBKeyRanges, a burst of getAll() requests need to be issued.
batchGetAll() methods will provide an ergonomic way to request multiple IDBKeyRanges while avoiding request overhead from event loops for bursts of small getAll() queries.
This feature is requested by a partner via https://github.com/w3c/IndexedDB/issues/376.
https://github.com/w3c/IndexedDB/issues/376
Pending
Gecko: No signal
WebKit: No signal
Web developers: Positive (https://github.com/w3c/IndexedDB/issues/376). The partner signaled they want to experiment with this prototype after seeing initial microbenchmarks results.
Other signals:
This does not change existing APIs
Not Applicable
Yes
IDBBatchGetAll
False
https://bugs.chromium.org/p/chromium/issues/detail?id=1294977
https://bugs.chromium.org/p/chromium/issues/detail?id=1311837
No milestones specified — We are not sure if we will ship this API. The partner requested us to put the prototype behind a flag so it’s easier for them to run benchmarks.
https://chromestatus.com/feature/5170487008165888
This intent message was generated by Chrome Platform Status.