|
@@ -6,7 +6,8 @@
|
|
|
Use `LIKE` to filter data based on string patterns using wildcards. `LIKE`
|
|
|
usually acts on a field placed on the left-hand side of the operator, but it can
|
|
|
also act on a constant (literal) expression. The right-hand side of the operator
|
|
|
-represents the pattern.
|
|
|
+represents the pattern or a list of patterns. If a list of patterns is provided,
|
|
|
+the expression will return true if any of the patterns match.
|
|
|
|
|
|
The following wildcard characters are supported:
|
|
|
|
|
@@ -33,6 +34,11 @@ it will require further escaping.
|
|
|
include::{esql-specs}/string.csv-spec[tag=likeEscapingSingleQuotes]
|
|
|
----
|
|
|
|
|
|
+[source.merge.styled,esql]
|
|
|
+----
|
|
|
+include::{esql-specs}/where-like.csv-spec[tag=likeListDocExample]
|
|
|
+----
|
|
|
+
|
|
|
To reduce the overhead of escaping, we suggest using triple quotes strings `"""`
|
|
|
|
|
|
[source.merge.styled,esql]
|