Hub JS Package

Hub JS Package

  • Users
  • Buckets
  • Threads
  • Textile Docs

@textile/hub > Query > orderBy

Query.orderBy() method

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

Signature:

orderBy(fieldPath: string): Query;

Parameters

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

Returns:

Query

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