DB
FunctionsType Conversion

if

Evaluates a boolean condition and returns the 'then' value when the condition is true; otherwise returns the 'else' value. A NULL condition is treated as not true (so the else branch is returned).

if(…) → Dynamic

Kind · scalar

Evaluates a boolean condition and returns the 'then' value when the condition is true; otherwise returns the 'else' value. A NULL condition is treated as not true (so the else branch is returned).

Part of the Type Conversion family.