From d6727dcab4c18ec8ba0b650e82ff6420ff260486 Mon Sep 17 00:00:00 2001 From: Abby <78209557+abby-cyber@users.noreply.github.com> Date: Wed, 3 Aug 2022 09:55:57 +0800 Subject: [PATCH 1/2] Update 1.get-subgraph.md --- docs-2.0/3.ngql-guide/16.subgraph-and-path/1.get-subgraph.md | 5 +++++ 1 file changed, 5 insertions(+) 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..9608eb51e68 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)。 + ## 示例 以下面的示例图进行演示。 From 5b5ce93fdd17985cb8363f0e9384ec54387a021d Mon Sep 17 00:00:00 2001 From: randomJoe211 <69501902+randomJoe211@users.noreply.github.com> Date: Wed, 3 Aug 2022 10:01:13 +0800 Subject: [PATCH 2/2] Update docs-2.0/3.ngql-guide/16.subgraph-and-path/1.get-subgraph.md --- docs-2.0/3.ngql-guide/16.subgraph-and-path/1.get-subgraph.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 9608eb51e68..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 @@ -22,7 +22,7 @@ YIELD [VERTICES AS ] [, EDGES AS ]; !!! caution - `GET SUBGRAPH`语句不支持使用`WHERE`字句。 + `GET SUBGRAPH`语句不支持使用`WHERE`子句。 !!! note