I currently have a graph database that has 2 node labels and 1 relationship type.
If i run
MATCH (u)-[r]->(n) return u, n
I can see everything. Some nodes have multiple outgoing relationships. I'd like to filter this view for where nodes have 2 or more outgoing relationships. I tried
MATCH (u)-[r]->(n) with count(r) as c,u,n where c > 1 return u, n
But this gives me no results. I've seen some answers on here that return just a node, but I want the 2 nodes and the relationship shown. Any ideas?