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 #1809

Merged
merged 1 commit into from
Dec 12, 2022
Merged
Changes from all commits
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 @@ -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.
Expand All @@ -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.
Expand Down