-
-
Notifications
You must be signed in to change notification settings - Fork 641
Collection.reverse()
David Fahlander edited this page May 8, 2014
·
3 revisions
collection.reverse()
This Collection instance (this)
No matter if using sortBy() or natural sort order (orderBy or a where() clause), this method will reverse the sort order of the collection.
If called twice, the sort order will reset to ascending again.
reverse() replaces deprecated desc() method. Behaviour is equivalent to the desc() method.
Dexie.js - minimalistic and bullet proof indexedDB library