I would like to list all relations inside my graph of around 20000 edges, with the cypher query MATCH ()-[r]-() RETURN r
. For each relation I would like to get the relation type, its properties, the source node ID, the target node ID.
When I run this query on the neo4j client interface, the results appear pretty fast in a few seconds.
However, when I call this query with py2neo with Graph.run("MATCH ()-[r]-() RETURN r")
it takes a super long time to just loop on the results, without any processing.
Do you know why is that ?