DB
FunctionsType Conversion

multi_if

Evaluates condition/value pairs left to right and returns the value corresponding to the first condition that is true. If no condition is true, returns the final default argument. Useful as a compa…

multi_if(…) → Dynamic

Kind · scalar

Evaluates condition/value pairs left to right and returns the value corresponding to the first condition that is true. If no condition is true, returns the final default argument. Useful as a compact alternative to nested if() or CASE.

Part of the Type Conversion family.