ClickHouse/docs/en/functions/conditional_functions.md
BayoNet 13d9a4eebe Sources for english documentation switched to Markdown.
Edit page link is fixed too for both language versions of documentation.
2017-12-28 18:13:23 +03:00

7 lines
221 B
Markdown

# Conditional functions
## if(cond, then, else), cond ? operator then : else
Returns 'then' if cond !or 'else' if cond = 0.'cond' must be UInt 8, and 'then' and 'else' must be a type that has the smallest common type.