Neo4J 统计根节点、叶节点个数

  • 统计根节点个数:
    match (n) 
    where not ()-->(n) 
    return count(distinct n)
  • 统计叶节点个数:
    match (n) 
    where not (n)-->() 
    return count(distinct n)
发布了13 篇原创文章 · 获赞 2 · 访问量 6418

猜你喜欢

转载自blog.csdn.net/huibiannihao/article/details/100021898
今日推荐