whereNotIn method

CoffeeRequestGet<T> whereNotIn(
  1. dynamic type,
  2. List values
)

Creates a filter for exclusion searches.

type: The property to filter by, either a String or a Function. values: The list of values that the property should not be within.

Returns a CoffeeRequestGet<T> configured for exclusion searches.

Usage Example

whereNotIn('id', [1, 2, 3])
whereNotIn((Model model) => model.id, [4, 5, 6])

Implementation

CoffeeRequestGet<T> whereNotIn(dynamic type, List<dynamic> values) {
  _queryParameters.add(cqf.whereNotIn(type, values));
  return this;
}