Skip to main content

is_false

Function is_false 

Source
pub fn is_false<'a, V, E>(
    expr: E,
) -> SQLExpr<'a, V, <V::DialectMarker as DialectTypes>::Bool, NonNull, E::Aggregate>
where V: SQLParam + 'a, E: Expr<'a, V>,
Expand description

IS FALSE - tests if a boolean expression is false.

Unlike = FALSE, this handles NULL correctly:

  • FALSE IS FALSE → true
  • TRUE IS FALSE → false
  • NULL IS FALSE → false (not NULL!)