I know that I can get total number of relationships using MATCH () -[r]-> () RETURN count(r) AS quantity
. How I can get count per relationship type?
Asked
Active
Viewed 48 times
0

ShymPi1999
- 51
- 3
1 Answers
1
Use the following query to get count per relationship type:
MATCH ()-[e]->() RETURN type(e), count(e) as quantity

Adrian Mole
- 49,934
- 160
- 51
- 83

Moraltox
- 537
- 1
- 7