Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何选择通过多个路径连接到 node(2) [from] 的所有节点?
START from=node(2) MATCH p=from-->to where count(p) > 1 return from,to
致 Neo4J 团队:有计划实现 Count/Having 功能吗?到目前为止,该产品做得很好!
实际上找到了结合'WITH'关键字的解决方案
START from=node(*) MATCH p=from-->to WITH from as from , to as to, count(p) as paths WHERE paths >1 RETURN to,paths