教程 > neo4j 教程 > 阅读:205

neo4j with 子句——迹忆客-ag捕鱼王app官网

我们可以使用 with 子句将查询链接在一起。

语法

以下是 with 子句的语法。

match (n) 
with n 
order by n.property 
return collect(n.property) 

示例

以下是一个 cql 示例,它演示了 with 子句的用法。

match (n) 
with n 
order by n.name desc limit 3 
return collect(n.name) 

执行完成后,我们将得到以下结果。

neo4j with 子句

查看笔记

扫码一下
查看教程更方便
网站地图