- Count the number of the root node:
match (the n-)
the WHERE not () -> (the n-)
return COUNT (DISTINCT the n-) - Counting the number of leaf nodes:
match (the n-)
the WHERE not (the n-) -> ()
return COUNT (DISTINCT the n-)
Neo4J root node statistics, the number of leaf nodes
Guess you like
Origin blog.csdn.net/huibiannihao/article/details/100021898
Recommended
Ranking