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

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

For the index case, in my opinion, option 2 (indexKey, primaryKey) would be best, as this option would allow us to obtain the index keys for a range without the overhead of fetching full values.

I am not sure if this is covered by "key" value for the "query" option? Would be great if this could be clarified!


-- 
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-943494890

Received on Thursday, 14 October 2021 15:59:47 UTC