elasticsearch/docs/reference/query-languages/esql/_snippets/functions/parameters/case.md

416 B
Raw Blame History

% This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.

Parameters

condition
A condition.
trueValue
The value thats returned when the corresponding condition is the first to evaluate to true. The default value is returned when no condition matches.
elseValue
The value thats returned when no condition evaluates to true.