where method
ColRef<T>
where(
- String fieldPath, {
- dynamic isEqualTo,
- dynamic isNotEqualTo,
- dynamic isLessThan,
- dynamic isLessThanOrEqualTo,
- dynamic isGreaterThan,
- dynamic isGreaterThanOrEqualTo,
- dynamic arrayContains,
- List? arrayContainsAny,
- List? whereIn,
- List? whereNotIn,
- bool isNull = false,
})
Implementation
ColRef<T> where(
String fieldPath, {
dynamic isEqualTo,
dynamic isNotEqualTo,
dynamic isLessThan,
dynamic isLessThanOrEqualTo,
dynamic isGreaterThan,
dynamic isGreaterThanOrEqualTo,
dynamic arrayContains,
List<dynamic>? arrayContainsAny,
List<dynamic>? whereIn,
List<dynamic>? whereNotIn,
bool isNull = false,
}) {
_queryProperties.whereQuerys.add(WhereQuery(
document: fieldPath,
isEqualTo: isEqualTo,
isNotEqualTo: isNotEqualTo,
isLessThan: isLessThan,
isLessThanOrEqualTo: isLessThanOrEqualTo,
isGreaterThan: isGreaterThan,
isGreaterThanOrEqualTo: isGreaterThanOrEqualTo,
arrayContains: arrayContains,
arrayContainsAny: arrayContainsAny,
whereIn: whereIn,
whereNotIn: whereNotIn,
isNull: isNull));
return _copyWithQuery;
}