query
Creates a new immutable instance of Query that is extended to also include additional query constraints.
function query<AppModelType, DbModelType extends DocumentData>(
query: Query<AppModelType, DbModelType>,
compositeFilter: QueryCompositeFilterConstraint,
...queryConstraints: QueryNonFilterConstraint[],
): Query<AppModelType, DbModelType>;function query<AppModelType, DbModelType extends DocumentData>(query: Query<AppModelType, DbModelType>, ...queryConstraints: QueryConstraint[]): Query<AppModelType, DbModelType>;
§
query<AppModelType, DbModelType extends DocumentData>(query: Query<AppModelType, DbModelType>, compositeFilter: QueryCompositeFilterConstraint, ...queryConstraints: QueryNonFilterConstraint[]): Query<AppModelType, DbModelType>
[src]Creates a new immutable instance of Query that is extended to also include additional query constraints.
§Parameters
§
compositeFilter: QueryCompositeFilterConstraint
[src]- The QueryCompositeFilterConstraint to apply. Create QueryCompositeFilterConstraint using and or or.
§
...queryConstraints: QueryNonFilterConstraint[] optional
[src]- Additional QueryNonFilterConstraints to apply (e.g. orderBy, limit).
§
query<AppModelType, DbModelType extends DocumentData>(query: Query<AppModelType, DbModelType>, ...queryConstraints: QueryConstraint[]): Query<AppModelType, DbModelType>
[src]Creates a new immutable instance of Query that is extended to also include additional query constraints.
§Parameters
§
...queryConstraints: QueryConstraint[] optional
[src]- The list of QueryConstraints to apply.