标签: cypher
我需要对一个集合进行排序,然后做其他的事情。以下是我的查询的开头:
match ()-[r]-(n)-[s:STATE]->() // order by s.from ?? with collect(s) as states // do stuff
有没有办法将ORDER BY与WITH一起使用,还是只能与RETURN一起使用?
ORDER BY
WITH
RETURN
另请参阅:this和this other问题