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 4.schema.md #2384

Merged
merged 4 commits into from
Dec 12, 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
8 changes: 8 additions & 0 deletions docs-2.0/3.ngql-guide/6.functions-and-expressions/4.schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ nebula> GO FROM "player100" OVER follow \
+-------------+-------------+
```

!!! note

src(edge) 和 [properties(`$^`)](../5.operators/5.property-reference.md) 查找起始点的语义不同。src(edge) 始终表示图数据库中出边的起始点 ID,而 properties(`$^`) 表示开始拓展的点的 ID。
abby-cyber marked this conversation as resolved.
Show resolved Hide resolved
abby-cyber marked this conversation as resolved.
Show resolved Hide resolved

### dst(edge)

dst(edge) 返回边的目的点 ID。
Expand All @@ -140,6 +144,10 @@ nebula> GO FROM "player100" OVER follow \
+-------------+-------------+
```

!!! note

dst(edge) 始终表示图数据库中出边的目的点 ID。
abby-cyber marked this conversation as resolved.
Show resolved Hide resolved

### rank(edge)

rank(edge) 返回边的 rank。
Expand Down