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