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

Merged
merged 1 commit into from
Oct 27, 2021
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
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