Skip to content

Commit

Permalink
go-0-step (#107)
Browse files Browse the repository at this point in the history
* go-0-step

* laura
  • Loading branch information
amber-moe authored Jul 3, 2020
1 parent a3f1058 commit f7e96c2
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit f7e96c2

Please sign in to comment.