Reverse order unique queries in IndexedDB

In my post my db.js querying I covered how to do reverse unique queries with db.js using the desc().distinct() method chaining which will query an index for the unique items, but it’ll do it in reverse order, essentially it will set a IDBCursor d…

In my post my db.js querying I covered how to do reverse unique queries with db.js using the desc().distinct() method chaining which will query an index for the unique items, but it’ll do it in reverse order, essentially it will set a IDBCursor direction of prevunique. When covering off I mentioned that the way it works is a little unusual and here I’ll explain why. How an index “looks”So you’ve got an index in your object store, an index which is non-unique, and it contains duplicate values.
Print Share Comment Cite Upload Translate
CITATION GOES HERE CITATION GOES HERE
Select a language: