diff --git a/docs-2.0/3.ngql-guide/16.subgraph-and-path/1.get-subgraph.md b/docs-2.0/3.ngql-guide/16.subgraph-and-path/1.get-subgraph.md index be4a814b655..cfc8ce5061d 100644 --- a/docs-2.0/3.ngql-guide/16.subgraph-and-path/1.get-subgraph.md +++ b/docs-2.0/3.ngql-guide/16.subgraph-and-path/1.get-subgraph.md @@ -20,10 +20,15 @@ YIELD [VERTICES AS ] [, EDGES AS ]; - `YIELD`:定义需要返回的输出。可以仅返回点或边。必须设置别名。 +!!! caution + + `GET SUBGRAPH`语句不支持使用`WHERE`子句。 + !!! note `GET SUBGRAPH`语句检索的路径类型为`trail`,即检索的路径只有点可以重复,边不可以重复。详情请参见[路径](../../1.introduction/2.1.path.md)。 + ## 示例 以下面的示例图进行演示。