Skip to main content

fold_constant

Function fold_constant 

Source
pub fn fold_constant(expr: &SqlExpr, registry: &FunctionRegistry) -> FoldResult
Expand description

Fold a SqlExpr to a literal SqlValue at plan time. See FoldResult for what each outcome means. Volatile calls are never folded.