Re: [w3c/IndexedDB] Add descending order for getAll() and getAllKeys() (#130)

We thought the same in terms of ever-growing list of methods. However, we were thinking maybe this was analogous to having indexOf() and lastIndexOf().

@nolanlawson brought up how he would like to be able to efficiently iterate through an object store backwards in PouchDB since currently they're using a cursor for backwards iteration and getAll for forward iteration (if available). He brought up that he raised the issue here and I just wanted to help give it some attention in case we want to define this for v3 of the IDB spec. In terms of implementing such a method, I would support it since it would help with the use case @nolanlawson mentioned :)


-- 
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/130#issuecomment-317108089

Received on Friday, 21 July 2017 20:45:50 UTC