@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
Parameter | Type | Description |
---|---|---|
fieldPath | string | The field name to query on. Can be a hierarchical path. |
Returns: