Skip to main content

eval_comparison_truth_with_deferred_state

Function eval_comparison_truth_with_deferred_state 

Source
pub fn eval_comparison_truth_with_deferred_state<'a>(
    op: BinaryOp,
    left: &Value,
    right: &Value,
    control: &ProductionControl<'_>,
    engine: Option<&dyn EngineHook>,
    state: impl FnOnce() -> Option<&'a EnumComparisonState>,
) -> Result<Option<bool>>
Expand description

Primitive scalar comparisons need no catalog or private enum call state. Resolve that state only when the evaluated carriers require the general comparison path; operand evaluation and its SQL ordering remain the caller’s responsibility.