whereIn method

dynamic whereIn({
  1. required String attribute,
  2. required List<String> values,
  3. required bool merge,
})

Implementation

whereIn(
    {required String attribute,
    required List<String> values,
    required bool merge}) {
  if (merge) {
    this.filters?.add(QueryFilter(
        attribute: attribute, condition: QueryCondition.In, value: values));
  } else {
    this.filters = [
      QueryFilter(
          attribute: attribute, condition: QueryCondition.In, value: values)
    ];
  }

  return this;
}