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 4937233fd26..5182cad29ff 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 @@ -111,7 +111,7 @@ If you only query paths or vertices that meet the conditions, we suggest you use ```ngql nebula> MATCH p= (v:player) -- (v2) WHERE id(v)=="A" RETURN p; -nebula> GO 1 STEPS FROM "A" OVER follow YIELD id(vertex); +nebula> GO 1 STEPS FROM "A" OVER follow YIELD src(edge),dst(edge); ``` ### Why is the number of hops in the returned result lower than `step_count`?