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

Staring at this a bit more, I'd be tempted to have indexes produce:

* `[[primaryKey, value, indexKey], ... ]`

i.e. if you only pay attention to the first two elements, this looks just like getAllEntries() and can be used with Map constructor. If you need the index key it's there.

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

Received on Friday, 20 September 2019 00:26:31 UTC