pub fn eval_expr_on_json(
expr: &SqlExpr,
doc: &Value,
) -> Result<Value, EvalError>Expand description
Evaluate expr against a JSON row.
Column and literal references short-circuit; anything else goes through the
shared row evaluator, so arithmetic, function calls, and CASE all behave
exactly as they do in a projection or WHERE clause.