Skip to content

Commit

Permalink
Revert "use pattern in expression (#1657)"
Browse files Browse the repository at this point in the history
This reverts commit 287bb47.
  • Loading branch information
cooper-lzy authored Apr 21, 2022
1 parent 8b081c0 commit d32e313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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,7 +10,7 @@

## openCypher 兼容性

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

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

Expand Down

0 comments on commit d32e313

Please sign in to comment.