Skip to main content

every

Function every 

Source
pub fn every<'a, V, E>(
    expr: E,
) -> SQLExpr<'a, V, <V::DialectMarker as DialectTypes>::Bool, Null, Agg>
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);