anyOf function

Expr<bool?> anyOf(
  1. Iterable<Expr<bool?>> predicates
)

Requires at least one predicate to be SQL TRUE; an empty group is FALSE.

The iterable is consumed once when this expression is built. SQL NULL retains its three-valued meaning. Nest this with allOf to express groups.

Implementation

Expr<bool?> anyOf(Iterable<Expr<bool?>> predicates) =>
    _predicateGroup(predicates, 'OR', false);