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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
416 B
Markdown
Raw Normal View 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`.