Creates a QueryOrderByConstraint that sorts the query result by the specified field, optionally in descending order instead of ascending.
Note: Documents that do not contain the specified field will not be present in the query result.
The created QueryOrderByConstraint.
The field to sort by.
Optional
Optional direction to sort by ('asc' or 'desc'). If not specified, order will be ascending.
Generated using TypeDoc
Creates a QueryOrderByConstraint that sorts the query result by the specified field, optionally in descending order instead of ascending.
Note: Documents that do not contain the specified field will not be present in the query result.
Returns
The created QueryOrderByConstraint.