From 9a8b0f323ebb8ffc2f369a3f1408f351e9dc898e Mon Sep 17 00:00:00 2001 From: Abby <78209557+abby-cyber@users.noreply.github.com> Date: Mon, 12 Dec 2022 17:01:22 +0800 Subject: [PATCH] Update 4.schema.md --- .../3.ngql-guide/6.functions-and-expressions/4.schema.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs-2.0/3.ngql-guide/6.functions-and-expressions/4.schema.md b/docs-2.0/3.ngql-guide/6.functions-and-expressions/4.schema.md index 7517e59ff67..89a1c26d84f 100644 --- a/docs-2.0/3.ngql-guide/6.functions-and-expressions/4.schema.md +++ b/docs-2.0/3.ngql-guide/6.functions-and-expressions/4.schema.md @@ -114,6 +114,10 @@ nebula> GO FROM "player100" OVER follow \ +-------------+-------------+ ``` +!!! note + + The semantics of the query for the starting vertex with src(edge) and [properties(`$^`)](../5.operators/5.property-reference.md) are different. src(edge) indicates the starting vertex ID of the edge in the graph database, while properties(`$^`) indicates the data of the starting vertex where you start to expand the graph, such as the data of the starting vertex `player100` in the above GO statement. + ### dst(edge) dst(edge) returns the destination vertex ID of an edge. @@ -135,6 +139,10 @@ nebula> GO FROM "player100" OVER follow \ +-------------+-------------+ ``` +!!! note + + dst(edge) indicates the destination vertex ID of the edge in the graph database. + ### rank(edge) rank(edge) returns the rank value of an edge.