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

Update 1.get-subgraph.md #2040

Merged
merged 2 commits into from
Aug 3, 2022
Merged
Changes from 1 commit
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
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
@@ -20,10 +20,15 @@ YIELD [VERTICES AS <vertex_alias>] [, EDGES AS <edge_alias>];

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

!!! caution

`GET SUBGRAPH`语句不支持使用`WHERE`字句。
randomJoe211 marked this conversation as resolved.
Show resolved Hide resolved

!!! note

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


## 示例

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