I'm running this query to calculate the number of incoming transactions to a person's account:
MATCH (a0:Account)-[t:Transfer]->(a1:Account)<-[:Owns]-(p:Person)
WHERE p.name = "Amanda"
RETURN p.name, a0.id, a1.id, COUNT(t)
It shows there's a multi-edge between two accounts with the same primary keys (hence the COUNT(t) is 2 for the last row). However, when I try to display the nodes with the following query, the multi-edge isn't displayed, giving me the wrong impression that there's only 3 incoming transactions.
MATCH (a0:Account)-[t:Transfer]->(a1:Account)<-[:Owns]-(p:Person)
WHERE p.name = "Amanda"
RETURN *;
Can we update it so that the multi-edge is displayed?
I'm running this query to calculate the number of incoming transactions to a person's account:
It shows there's a multi-edge between two accounts with the same primary keys (hence the
COUNT(t)
is 2 for the last row). However, when I try to display the nodes with the following query, the multi-edge isn't displayed, giving me the wrong impression that there's only 3 incoming transactions.Can we update it so that the multi-edge is displayed?