Skip to main content

nested_case_when

Function nested_case_when 

Source
pub fn nested_case_when(
    when_then_pairs: Vec<(BoundExpression, BoundExpression)>,
    else_value: Option<BoundExpression>,
) -> BoundExpression
Expand description

Creates a bound n-ary CASE WHEN expression from WHEN/THEN pairs and an optional ELSE value.