Skip to content

Commit f384343

Browse files
committed
Update 'where'
1 parent 4a0b5b5 commit f384343

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docs/cse/rules/cse-rules-syntax.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1394,7 +1394,12 @@ Filters results based on the value of a boolean expression.  
13941394

13951395
`... | where <boolean expression>`
13961396

1397-
**Example**
1397+
**Examples**
13981398

1399-
`| where jsonArrayContains(field, “vuln_scanner”)`
1399+
* `| where jsonArrayContains(field, “vuln_scanner”)`
14001400

1401+
* `| where` can be used at the beginning of an expression, as well as on subsequent lines after another syntax element has been used to start a preceding line. For example:
1402+
```
1403+
| json field=fields "foo" as alias
1404+
| where toInt(alias) > 5
1405+
```

0 commit comments

Comments
 (0)