A QueryConstraint is used to narrow the set of documents returned by a Database query. QueryConstraints are created by invoking endAt, endBefore, startAt, startAfter, limitToFirst, limitToLast, orderByChild, orderByChild, orderByKey , orderByPriority , orderByValue or equalTo and can then be passed to query to create a new query instance that also contains this QueryConstraint.
QueryConstraint
Readonly
The type of this query constraints
A
QueryConstraintis used to narrow the set of documents returned by a Database query.QueryConstraints are created by invoking endAt, endBefore, startAt, startAfter, limitToFirst, limitToLast, orderByChild, orderByChild, orderByKey , orderByPriority , orderByValue or equalTo and can then be passed to query to create a new query instance that also contains thisQueryConstraint.