Skip to content

Commit

Permalink
Revert "use pattern in expression" (#1686)
Browse files Browse the repository at this point in the history
* Revert "use pattern in expression (#1657)"

This reverts commit 287bb47.

* Update where.md
  • Loading branch information
cooper-lzy authored Apr 21, 2022
1 parent 96940a7 commit 68839de
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs-2.0/3.ngql-guide/8.clauses-and-options/where.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@

## openCypher 兼容性

- 可以在`WHERE`子句中使用 Pattern,但是不能引入新变量。例如可以使用`MATCH (v:player) WHERE (v)-->()<--(v)`,不能使用`MATCH (v:player) WHERE (v)-->(t)<--(v)`(t 为新变量)。

- [过滤 Rank](#rank) 是原生 nGQL 功能。如需在 openCypher 兼容语句中直接获取 Rank 值,可以使用 rank() 函数,例如`MATCH (:player)-[e:follow]->() RETURN rank(e);`
[过滤 Rank](#rank) 是原生 nGQL 功能。如需在 openCypher 兼容语句中直接获取 Rank 值,可以使用 rank() 函数,例如`MATCH (:player)-[e:follow]->() RETURN rank(e);`

## 基础用法

Expand Down

0 comments on commit 68839de

Please sign in to comment.