Indexable
[key: string]: any
Methods
from
- from(val: QueryOptions["from"]): this
-
Parameters
-
val: QueryOptions["from"]
Returns this
limit
- limit(number: number): this
offset
- offset(number: number): this
orderBy
- orderBy(order: QueryOptions["orderBy"], dir?: OrderOption["direction"]): this
-
Parameters
-
order: QueryOptions["orderBy"]
-
Default value dir: OrderOption["direction"] = "asc"
Returns this
select
- select(fields: QueryOptions["select"]): void
-
Parameters
-
fields: QueryOptions["select"]
Returns void
toJSON
- toJSON(): { structuredQuery: any }
-
Returns { structuredQuery: any }
where
- where(fieldPath: QueryOptions["where"]): this
-
Parameters
-
fieldPath: QueryOptions["where"]
Returns this
Object literals
Readonly options
options: object
orderBy
orderBy: never[] = []
select
select: never[] = []
where
where: never[] = []
Query class that represents a Firestore query.