Hub JS Package

Hub JS Package

  • Users
  • Buckets
  • Threads
  • Textile Docs

@textile/hub > Query > orderByDesc

Query.orderByDesc() method

orderByDesc specify descending order for the query results. On multiple calls, only the last one is considered.

Signature:

orderByDesc(fieldPath: string): Query;

Parameters

ParameterTypeDescription
fieldPathstringThe field name to query on. Can be a hierarchical path.

Returns:

Query

  • Query.orderByDesc() method
  • Parameters
Hub JS Package
Docs
Getting StartedThreadDBBuckets
Resources
All DocumentationProject SlackBlog
More
GitHubStar
Follow @textileio