Dexie Logo
Documentation

Collection.desc()

Deprecated

Method is replaced with the reverse() method but will remain a few versions ahead.

Syntax

collection.desc()

Return Value

This Collection instance (this)

Remarks

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.

© 2014-2025 Awarica AB

Made with love for great people.

Read Terms & Conditions and Privacy Policy.