\\nCASE\\nWHEN condition THEN result\\n[ ...n ]\\n[ ELSE result ]\\nEND\\n
\\n[ ] marks optional components\\n\\n
Arguments
\\n WHEN condition - The condition expression to evaluate. \\n THEN result - If condition evaluates to True then result is evaluated and returned. \\n ELSE result - If none of the above conditions evaluated to True then result is evaluated and returned. \\n\\n
Example
\\n
\\nCASE\\nWHEN \"column\" IS NULL THEN 'None'\\n END\\n