Neo4j Cypher : No of Relations for Each Node -


what cypher find no of edges/relationships of each user/node ? want return count each user.

the fastest way, uses node.getdegree internally.

you can separate rel-pattern direction , relationship-type.

match (n:user) return n, size((n)--()) degree 

Comments

Popular posts from this blog

c - Calling a function within a loop -

How i fill combobox items in Radgridview manually using in vb.net -

html - Why isn't this media query display none not working? -