Skip to main content

case_when

Function case_when 

Source
pub fn case_when(
    condition: Expression,
    then_value: Expression,
    else_value: Expression,
) -> Expression
Expand description

Creates a CASE WHEN expression with one WHEN/THEN pair and an ELSE value.