elasticsearch/docs/reference/esql/functions/in.asciidoc
Abdon Pijpelink bc59315baa
[DOCS] Examples for ES|QL DISSECT and WHERE (#102591)
* DISSECT examples

* WHERE examples

* Remove references to empty keys

* Fix non-deterministic test
2023-11-27 10:56:48 +01:00

17 lines
No EOL
422 B
Text

[discrete]
[[esql-in-operator]]
=== `IN`
//tag::body[]
The `IN` operator allows testing whether a field or expression equals
an element in a list of literals, fields or expressions:
[source.merge.styled,esql]
----
include::{esql-specs}/row.csv-spec[tag=in-with-expressions]
----
[%header.monospaced.styled,format=dsv,separator=|]
|===
include::{esql-specs}/row.csv-spec[tag=in-with-expressions-result]
|===
//end::body[]