Skip to content

Commit

Permalink
Update 1.get-subgraph.md (#2040)
Browse files Browse the repository at this point in the history
* Update 1.get-subgraph.md

* Update docs-2.0/3.ngql-guide/16.subgraph-and-path/1.get-subgraph.md

Co-authored-by: randomJoe211 <[email protected]>
  • Loading branch information
abby-cyber and randomJoe211 authored Aug 3, 2022
1 parent d1e8527 commit 4544888
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs-2.0/3.ngql-guide/16.subgraph-and-path/1.get-subgraph.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,15 @@ YIELD [VERTICES AS <vertex_alias>] [, EDGES AS <edge_alias>];

- `YIELD`:定义需要返回的输出。可以仅返回点或边。必须设置别名。

!!! caution

`GET SUBGRAPH`语句不支持使用`WHERE`子句。

!!! note

`GET SUBGRAPH`语句检索的路径类型为`trail`,即检索的路径只有点可以重复,边不可以重复。详情请参见[路径](../../1.introduction/2.1.path.md)。


## 示例

以下面的示例图进行演示。
Expand Down

0 comments on commit 4544888

Please sign in to comment.