Here's everything we announced at I/O, from new Firebase Studio features to more ways to integrate AI.
Read blog.
QueryOrderByConstraint class
A QueryOrderByConstraint
is used to sort the set of documents returned by a Firestore query. QueryOrderByConstraint
s 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" ;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-01-19 UTC.
[null,null,["Last updated 2024-01-19 UTC."],[],[]]