Skip to content

Commit

Permalink
Revert "add reuse alias (#1654)" (#1684)
Browse files Browse the repository at this point in the history
This reverts commit 1093ae9.
  • Loading branch information
cooper-lzy authored Apr 21, 2022
1 parent f88de0e commit 8b081c0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
7 changes: 0 additions & 7 deletions docs-2.0/3.ngql-guide/1.nGQL-overview/3.graph-patterns.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,6 @@
(a)-[]->()<-[]-(c)
```

!!! note

模式中可以重复同一个点,例如:

- 自环表示为`(a)-[]->(a)`。
- 一个点有两条边指向另一个点表示为`(a)-[]->(b)<-[]-(a)`。

## Tag 模式

!!! Note
Expand Down
13 changes: 0 additions & 13 deletions docs-2.0/3.ngql-guide/7.general-query-statements/2.match.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,19 +335,6 @@ nebula> MATCH ()<-[e]-() \
| [:follow "player103"->"player102" @0 {degree: 70}] |
| [:follow "player135"->"player102" @0 {degree: 80}] |
+----------------------------------------------------+
nebula> MATCH (v:player)-[]->(t)<-[]-(v) \
RETURN DISTINCT v,t;
+---------------------------------------------------------+----------------------------------------+
| v | t |
+---------------------------------------------------------+----------------------------------------+
| ("player148" :player{age: 45, name: "Jason Kidd"}) | ("team213" :team{name: "Mavericks"}) |
| ("player104" :player{age: 32, name: "Marco Belinelli"}) | ("team204" :team{name: "Spurs"}) |
| ("player104" :player{age: 32, name: "Marco Belinelli"}) | ("team215" :team{name: "Hornets"}) |
| ("player136" :player{age: 45, name: "Steve Nash"}) | ("team214" :team{name: "Suns"}) |
| ("player116" :player{age: 34, name: "LeBron James"}) | ("team216" :team{name: "Cavaliers"}) |
| ("player129" :player{age: 37, name: "Dwyane Wade"}) | ("team229" :team{name: "Heat"}) |
+---------------------------------------------------------+----------------------------------------+
```

### 匹配 Edge type
Expand Down

0 comments on commit 8b081c0

Please sign in to comment.