Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go-0-step #107

Merged
merged 2 commits into from
Jul 3, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ It indicates to traverse in a graph with specific filters (the `WHERE` clause),
<col_name> [AS <col_alias>] [, <col_name> [AS <col_alias>] ...]
```

* `<N> STEPS` specifies the N query hops. If not specified, the default traversal is one hop.
* `M TO N STEPS` traverses from M to N hops.
* `<N> STEPS` specifies the N query hops. If not specified, the default traversal is one hop. When `N` is zero, **Nebula Graph** will not traverse any edges, so the returned result is empty.
* `M TO N STEPS` traverses from M to N hops. When `M` is zero, the return result is the same to `M` is one. That is, the return result of `GO 0 TO 2` and `GO 1 TO 2` are the same.
* `<node_list>` is either a list of node's vid separated by comma(,), or a special place holder `$-.id` (refer `PIPE` syntax).
* `<edge_type_list>`is a list of edge types which graph traversal can go through.
* `WHERE <expression>` extracts only those results that fulfill the specified conditions. WHERE syntax can be conditions for src-vertex, the edges, and dst-vertex. The logical AND, OR, NOT are also supported. See [WHERE Syntax](where-syntax.md) for more information.
Expand Down