Skip to content

Commit

Permalink
Update 4.schema.md (#1108)
Browse files Browse the repository at this point in the history
  • Loading branch information
cooper-lzy authored Oct 27, 2021
1 parent 337166e commit 9919be1
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 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 @@ -24,16 +24,16 @@ Nebula Graph支持以下Schema函数。

|函数| 说明 |
|:---- | :----|
| id(\<vertex\>) | 返回点ID。数据类型和点ID的类型保持一致。|
|list tags(\<vertex\>) | 返回点的Tag,与labels()作用相同。|
|list labels(\<vertex\>) | 返回点的Tag,与tags()作用相同,用于兼容openCypher语法。|
|map properties(\<vertex_or_edge\>) | 返回点或边的所有属性。|
|string type(\<edge\>) | 返回边的Edge type。|
|src(\<edge\>)|返回边的起始点ID。数据类型和点ID的类型保持一致。|
|dst(\<edge\>)|返回边的目的点ID。数据类型和点ID的类型保持一致。|
|vertex startNode(\<path\>) | 获取一条边或一条路径并返回它的起始点ID。|
|string endNode(\<path\>) | 获取一条边或一条路径并返回它的目的点ID。|
|int rank(\<edge\>) | 返回边的rank。|
| id(<vertex\>) | 返回点ID。数据类型和点ID的类型保持一致。|
|list tags(<vertex\>) | 返回点的Tag,与labels()作用相同。|
|list labels(<vertex\>) | 返回点的Tag,与tags()作用相同,用于兼容openCypher语法。|
|map properties(<vertex_or_edge\>) | 返回点或边的所有属性。|
|string type(<edge\>) | 返回边的Edge type。|
|src(<edge\>)|返回边的起始点ID。数据类型和点ID的类型保持一致。|
|dst(<edge\>)|返回边的目的点ID。数据类型和点ID的类型保持一致。|
|vertex startNode(<path\>) | 获取一条边或一条路径并返回它的起始点ID。|
|string endNode(<path\>) | 获取一条边或一条路径并返回它的目的点ID。|
|int rank(<edge\>) | 返回边的rank。|

## 示例

Expand Down

0 comments on commit 9919be1

Please sign in to comment.