operator | method

Expression<bool> operator |(
  1. Expression<bool> other
)

Returns an expression that is true if this or other are true.

For a bitwise-or on two numbers, see BitwiseInt.bitwiseOr.

Implementation

Expression<bool> operator |(Expression<bool> other) {
  return BinaryExpression(
    this,
    BinaryOperator.or,
    other,
    type: BuiltinSqlType.bool,
  );
}