Re: [w3c/IndexedDB] `getAll()` with both key and value (or index key and primary key) (#206)

Object stores are easy:
* getAllEntries() → `[[primaryKey, value], ...]`

Indexes are less straightforward:
* ??? → `[[primaryKey, value], ...]`
* ??? → `[[indexKey, primaryKey], ...]`
* ??? → `[[indexKey, primaryKey, value], ...]`

Having getAllEntries() on an Index produce `[[primaryKey, value], ...]` is closest to how getAllXXX() work on Indexes today, but there are use cases for the other permutations as well.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/IndexedDB/issues/206#issuecomment-500001449

Received on Friday, 7 June 2019 18:59:47 UTC