2012-08-16 92 views
1

这是我在Cypher支架查询...结合的Cypher查询结果

START n=node(127) 
MATCH(n)-[:friends]->(x) 
WITH n, collect(distinct x) as friends 
MATCH(n)-[:outer_only_friends]->(y) 
RETURN friends, collect(distinct y) as outer 

我想朋友添加到外收集和返回查询的内两者的集合。这样我可以在查询中使用LIMIT和SKIP。

任何帮助,将不胜感激。

克里斯

回答