Skip to content

Commit d0720c7

Browse files
authored
Update esql-syntax.md
I think we need to reword this bit as we don't actually say things like `\` is the escape character - which I'm not too well equipped for. but the `\\"` is wrong and should be `\"` so <escape char><quote> vs escaping escape char and then quote as this fails: ``` POST _query?format=txt { "query":""" ROW a = 1 | EVAL b = "\\"" """ } ``` vs: ``` POST _query?format=txt { "query":""" ROW a = 1 | EVAL b = "\"" """ } ```
1 parent 66d1a8e commit d0720c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/query-languages/esql/esql-syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ FROM index
6969
| WHERE first_name == "Georgi"
7070
```
7171

72-
If the literal string itself contains quotes, these need to be escaped (`\\"`). {{esql}} also supports the triple-quotes (`"""`) delimiter, for convenience:
72+
If the literal string itself contains quotes, these need to be escaped (`\"`). {{esql}} also supports the triple-quotes (`"""`) delimiter, for convenience:
7373

7474
```esql
7575
ROW name = """Indiana "Indy" Jones"""

0 commit comments

Comments
 (0)