whereIn function

dynamic whereIn (Iterable values)

Matcher for matching values that are within the list of values when using Query.where.

See Query.where. Example:

  var query = new Query<Employee>()
    ..where.department = whereIn(["Engineering", "HR"]);

Implementation

dynamic whereIn(Iterable<dynamic> values) {
  return new SetMembershipMatcherExpression(values.toList());
}