Neo4j: Get label-relationship count
- Krishnaraj Rajagopal
- Jun 18, 2018
- 1 min read
Run the following cypher query to get the label to relationship count
match (n)-[r]-(m) return labels(n),count(r) as rel_count, labels(m) order by rel_count desc
Geeky Scorpio
Recent Posts
Archive
Tags
Comments