Skip to main content

eval_scalar_function

Function eval_scalar_function 

Source
pub fn eval_scalar_function(
    name: &str,
    args: &[Value],
    custom_fns: Option<&CustomFunctionRegistry>,
) -> Result<Value>
Expand description

Evaluate a built-in scalar function.

This handles functions like COALESCE, NULLIF, SIZE, KEYS, HEAD, TAIL, etc. Functions that require argument evaluation (like COALESCE) take pre-evaluated args.