mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 15:47:23 -04:00
* DISSECT examples * WHERE examples * Remove references to empty keys * Fix non-deterministic test
17 lines
No EOL
422 B
Text
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[] |