whereAny method

  1. @override
QueryBuilderInterface<T> whereAny(
  1. List<String> columns,
  2. String operator,
  3. dynamic value
)
override

Matches ANY of the columns with the given operator and value

Implementation

@override
QueryBuilderInterface<T> whereAny(
  List<String> columns,
  String operator,
  value,
) {
  return whereNested((q) {
    for (final column in columns) {
      q.orWhere(column, operator, value);
    }
  });
}