Skip to main content

eval_check

Function eval_check 

Source
pub fn eval_check(
    expr: &str,
    row: &Map<String, Value>,
) -> Result<bool, CheckParseError>
Expand description

Evaluate a check expression against a row.

Returns Ok(true) when the check holds (including unknown/NULL results) and Ok(false) only when the predicate is definitely violated.