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。
任何幫助,將不勝感激。
克里斯
謝謝彼得。我有合併工作。我只是試圖在FILTER中構建,我認爲我的語法工作正常,但組合返回一個Scala對象類型,並且不會過濾。我在Google Group上提到過這個問題。 – 2012-08-21 15:10:51