Skip to content

Commit

Permalink
Update 4.schema.md (#1809)
Browse files Browse the repository at this point in the history
  • Loading branch information
abby-cyber authored Dec 12, 2022
1 parent fcadeea commit 4029f4c
Showing 1 changed file with 8 additions and 0 deletions.
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

0 comments on commit 4029f4c

Please sign in to comment.