where method

ColRef<T> where(
  1. String fieldPath, {
  2. dynamic isEqualTo,
  3. dynamic isNotEqualTo,
  4. dynamic isLessThan,
  5. dynamic isLessThanOrEqualTo,
  6. dynamic isGreaterThan,
  7. dynamic isGreaterThanOrEqualTo,
  8. dynamic arrayContains,
  9. List? arrayContainsAny,
  10. List? whereIn,
  11. List? whereNotIn,
  12. 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;
}