美文网首页
Cypher查询没有关系的节点

Cypher查询没有关系的节点

作者: 扣篮的左手 | 来源:发表于2019-03-28 14:56 被阅读0次

match(n:Label) where not((n)-[]-()) return n

match(n:Label1) where not((n)-[:RELATIONSHIP]-(:Label2)) return n

match (n) where size((n)--())=0 return n

size((n)-->()-->())
Count the paths matching the pattern.

相关文章

网友评论

      本文标题:Cypher查询没有关系的节点

      本文链接:https://www.haomeiwen.com/subject/jhiqbqtx.html