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 -

vb.net - Unbound DataGridView add row with checkbox error -

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