You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/user/ppl/cmd/where.rst
+134-3Lines changed: 134 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,18 +10,21 @@ where
10
10
11
11
12
12
Description
13
-
============
13
+
===========
14
14
|The ``where`` command bool-expression to filter the search result. The ``where`` command only return the result when bool-expression evaluated to true.
15
15
16
16
17
17
Syntax
18
-
============
18
+
======
19
19
where <boolean-expression>
20
20
21
21
* bool-expression: optional. any expression which could be evaluated to boolean value.
22
22
23
+
Examples
24
+
========
25
+
23
26
Example 1: Filter result set with condition
24
-
===========================================
27
+
--------------------------------------------
25
28
26
29
The example show fetch all the document from accounts index with .
27
30
@@ -36,3 +39,131 @@ PPL query::
36
39
| 13 | F |
37
40
+----------------+--------+
38
41
42
+
Example 2: Basic Field Comparison
43
+
----------------------------------
44
+
45
+
The example shows how to filter accounts with balance greater than 30000.
0 commit comments