mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
4a24d4f3ad
* Initial commit if EN docs * Part of EN documentation * Full queries section * External data * Table engines * System tables * Table functions * Formats * Data types * Operators * Functions * Dictionaries * Settings * Configuration files * Access rights * Quotas * Fixed few formatting errors * Fixed few formatting errors * Fixed few formatting errors * FIX: "WARNING: Title underline too short." during build RU docs. * FIX: "WARNING: Title underline too short." during build RU docs.
8 lines
397 B
ReStructuredText
8 lines
397 B
ReStructuredText
Условные функции
|
||
-------------
|
||
|
||
if(cond, then, else), оператор cond ? then : else
|
||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
Возвращает then, если cond != 0 или else, если cond = 0.
|
||
cond должно иметь тип UInt8, а then и else должны иметь тип, для которого есть наименьший общий тип.
|