* Support function links to function overloads. * Improve readability of headings for functions.
1.3 KiB
Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference
{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}
QueryOrderByConstraint class
A QueryOrderByConstraint is used to sort the set of documents returned by a Firestore query. QueryOrderByConstraints are created by invoking orderBy() and can then be passed to query() to create a new query instance that also contains this QueryOrderByConstraint.
Note: Documents that do not contain the orderBy field will not be present in the query result.
Signature:
export declare class QueryOrderByConstraint extends QueryConstraint
Extends: QueryConstraint
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| type | (not declared) | The type of this query constraint |
QueryOrderByConstraint.type
The type of this query constraint
Signature:
readonly type = "orderBy";