Count of properties

how to list each property of the node for the complete db and the corresponding count. Idea is to reconcile the data received from source system is loaded or not #neo4j-graph-platform:cypher

In Neo4j 3.5 there will be a procedure.

Otherwise you can just aggregate:

match (n) 
unwind keys(n) as key
return labels(n), key, count(*)

But it is a pretty expensive operation.

2 Likes

Can you give a link to the documentation for this procedure?

search for: db.schema.nodeTypeProperties() on