Skip to content

Commit

Permalink
Update 3.go.md (#1040)
Browse files Browse the repository at this point in the history
  • Loading branch information
randomJoe211 authored Jan 18, 2022
1 parent 13c4d99 commit cdc118d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs-2.0/3.ngql-guide/7.general-query-statements/3.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ GO [[<M> TO] <N> STEPS ] FROM <vertex_list>
OVER <edge_type_list> [{REVERSELY | BIDIRECT}]
[ WHERE <conditions> ]
YIELD [DISTINCT] <return_list>
[{SAMPLE <sample_list> | LIMIT <limit_list>}]
[{SAMPLE <sample_list> | <limit_by_list_clause>}]
[| GROUP BY {col_name | expr | position} YIELD <col_name>]
[| ORDER BY <expression> [{ASC | DESC}]]
[| LIMIT [<offset>,] <number_rows>];
Expand Down Expand Up @@ -53,7 +53,7 @@ YIELD [DISTINCT] <return_list>

- `SAMPLE <sample_list>`: takes samples from the result set. For more information, see [SAMPLE](../8.clauses-and-options/sample.md).

- `LIMIT <limit_list>`: limits the number of outputs during the traversal process. For more information, see [LIMIT](../8.clauses-and-options/limit.md).
- `<limit_by_list_clause>`: limits the number of outputs during the traversal process. For more information, see [LIMIT](../8.clauses-and-options/limit.md).

- `GROUP BY`: groups the output into subgroups based on the value of the specified property. For more information, see [GROUP BY](../8.clauses-and-options/group-by.md). After grouping, you need to use `YIELD` again to define the output that needs to be returned.

Expand Down

0 comments on commit cdc118d

Please sign in to comment.