where abstract method
Creates and returns a new Query with additional filter on specified
field
. field
refers to a field in a document.
The field
may be a String consisting of a single field name
(referring to a top level field in the document),
or a series of field names separated by dots '.'
(referring to a nested field in the document).
Alternatively, the field
can also be a FieldPath.
Only documents satisfying provided condition are included in the result set.
Implementation
Query<T> where(
Object field, {
Object? isEqualTo,
Object? isNotEqualTo,
Object? isLessThan,
Object? isLessThanOrEqualTo,
Object? isGreaterThan,
Object? isGreaterThanOrEqualTo,
Object? arrayContains,
List<Object?>? arrayContainsAny,
List<Object?>? whereIn,
List<Object?>? whereNotIn,
bool? isNull,
});