pub fn every<'a, V, E>(
expr: E,
) -> SQLExpr<'a, V, <V::DialectMarker as DialectTypes>::Bool, Null, Agg>where
V: SQLParam + 'a,
V::DialectMarker: PostgresAggregateSupport,
E: Expr<'a, V>,
E::SQLType: BooleanAggregatePolicy<V::DialectMarker>,Expand description
EVERY - true if all non-null inputs are true (PostgreSQL).
SQL standard alias for BOOL_AND.
ยงExample
use drizzle_core::expr::every;
// SELECT EVERY(orders.is_paid)
let all_paid = every(orders.is_paid);