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…


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail

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.


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail


Print Share Comment Cite Upload Translate Updates
APA

Posts on LINQ to Fail | Sciencx (2012-10-08T00:00:00+00:00) Reverse order unique queries in IndexedDB. Retrieved from https://www.scien.cx/2012/10/08/reverse-order-unique-queries-in-indexeddb/

MLA
" » Reverse order unique queries in IndexedDB." Posts on LINQ to Fail | Sciencx - Monday October 8, 2012, https://www.scien.cx/2012/10/08/reverse-order-unique-queries-in-indexeddb/
HARVARD
Posts on LINQ to Fail | Sciencx Monday October 8, 2012 » Reverse order unique queries in IndexedDB., viewed ,<https://www.scien.cx/2012/10/08/reverse-order-unique-queries-in-indexeddb/>
VANCOUVER
Posts on LINQ to Fail | Sciencx - » Reverse order unique queries in IndexedDB. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2012/10/08/reverse-order-unique-queries-in-indexeddb/
CHICAGO
" » Reverse order unique queries in IndexedDB." Posts on LINQ to Fail | Sciencx - Accessed . https://www.scien.cx/2012/10/08/reverse-order-unique-queries-in-indexeddb/
IEEE
" » Reverse order unique queries in IndexedDB." Posts on LINQ to Fail | Sciencx [Online]. Available: https://www.scien.cx/2012/10/08/reverse-order-unique-queries-in-indexeddb/. [Accessed: ]
rf:citation
» Reverse order unique queries in IndexedDB | Posts on LINQ to Fail | Sciencx | https://www.scien.cx/2012/10/08/reverse-order-unique-queries-in-indexeddb/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.