Skip to main content

expr_is_null_free

Function expr_is_null_free 

Source
pub fn expr_is_null_free(expr: &ScalarExpr) -> bool
Expand description

True when the expression can never evaluate to SQL NULL for any row: registered search functions, IS NULL tests, and boolean combinations thereof. Anything referencing column comparisons may yield NULL, so set-complement NOT would be unsound for it.