Skip to content

Commit

Permalink
update fields & where docs
Browse files Browse the repository at this point in the history
Signed-off-by: YANGDB <[email protected]>
  • Loading branch information
YANG-DB committed Oct 4, 2024
1 parent c563a86 commit e7b5f0e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
9 changes: 4 additions & 5 deletions docs/ppl-lang/ppl-fields-command.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# PPL `fields` command
## PPL `fields` command

Description
============
**Description**
Using ``field`` command to keep or remove fields from the search result.


Syntax
============
**Syntax**

field [+|-] <field-list>

* index: optional. if the plus (+) is used, only the fields specified in the field list will be keep. if the minus (-) is used, all the fields specified in the field list will be removed. **Default** +
Expand Down
1 change: 0 additions & 1 deletion docs/ppl-lang/ppl-where-command.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ The ``where`` command bool-expression to filter the search result. The ``where``
* bool-expression: optional. any expression which could be evaluated to boolean value.

### Example 1: Filter result set with condition
===========================================

The example show fetch all the document from accounts index with .

Expand Down

0 comments on commit e7b5f0e

Please sign in to comment.