This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Basically the idea is to be able to get several distinct keys from for example a objectStore.get operation. This is especially interesting for index.get since it would remove the need for authors to remove duplicate records. Not sure if the answer is to allow passing multiple keys to an IDBKeyRange constructor, or if the answer is allowing objectStore.get/index.openCursor etc to take an array of keys+IDBKeyRanges. Filing this for consideration for v2
We had a get-together with google on a variety of topics and this bug was discussed. General feelings was that this wasn't urgent. https://docs.google.com/document/d/1vvC5tFZCZ9T8Cwd2DteUvw5WlU4YJa2NajdkHn6fu-I/edit?usp=sharing
We're thinking of tackling this with a combination of two new entry points: IDBObjectStore/IDBIndex#getAll(keys [, count]) - implemented in FF, WIP in Chrome IDBKeySet - a set (*gasp*!) of keys. getAll() and existing methods that take a key-or-range would be extended to take key-or-range-or-set.
Now tracked as https://github.com/w3c/IndexedDB/issues/19