mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 15:47:23 -04:00
21 lines
559 B
Text
21 lines
559 B
Text
[[esql-conditional-functions-and-expressions]]
|
|
==== {esql} conditional functions and expressions
|
|
|
|
++++
|
|
<titleabbrev>Conditional functions and expressions</titleabbrev>
|
|
++++
|
|
|
|
Conditional functions return one of their arguments by evaluating in an if-else
|
|
manner. {esql} supports these conditional functions:
|
|
|
|
// tag::cond_list[]
|
|
* <<esql-case>>
|
|
* <<esql-coalesce>>
|
|
* <<esql-greatest>>
|
|
* <<esql-least>>
|
|
// end::cond_list[]
|
|
|
|
include::layout/case.asciidoc[]
|
|
include::layout/coalesce.asciidoc[]
|
|
include::layout/greatest.asciidoc[]
|
|
include::layout/least.asciidoc[]
|