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, E::Sources>
Expand description

True when every non-NULL input is true (EVERY), on PostgreSQL.

The SQL-standard spelling of bool_and, with the same typing.

ยงExamples

assert_eq!(every(users.active).sql(), r#"EVERY ("users"."active")"#);