Skip to content

Commit

Permalink
Update return.md (#1769)
Browse files Browse the repository at this point in the history
  • Loading branch information
foesa-yang authored May 6, 2022
1 parent b339e94 commit 6e8d793
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit 6e8d793

Please sign in to comment.