扫码一下
查看教程更方便
我们可以使用 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)
执行完成后,我们将得到以下结果。