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 return.md #1769

Merged
merged 1 commit into from
May 6, 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
6 changes: 3 additions & 3 deletions docs-2.0/3.ngql-guide/8.clauses-and-options/return.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ nebula> MATCH p=(v:player{name:"Tim Duncan"})-[*3]->() \
...
```

## 返回路径中的点
### 返回路径中的点

使用`nodes()`函数返回路径中的所有点。

Expand All @@ -206,7 +206,7 @@ nebula> MATCH p=(v:player{name:"Tim Duncan"})-[]->(v2) \
+---------------------------------------------------------------------------------------------------------------------+
```

## 返回路径中的边
### 返回路径中的边

使用`relationships()`函数返回路径中的所有边。

Expand All @@ -222,7 +222,7 @@ nebula> MATCH p=(v:player{name:"Tim Duncan"})-[]->(v2) \
+-------------------------------------------------------------------------+
```

## 返回路径长度
### 返回路径长度

使用`length()`函数检索路径的长度。

Expand Down