Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-edge not being shown correctly #169

Closed
prrao87 opened this issue Jul 10, 2024 · 0 comments · Fixed by #172
Closed

Multi-edge not being shown correctly #169

prrao87 opened this issue Jul 10, 2024 · 0 comments · Fixed by #172
Labels
bug Something isn't working invalid This doesn't seem right

Comments

@prrao87
Copy link
Member

prrao87 commented Jul 10, 2024

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)

image

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 *;

image

Can we update it so that the multi-edge is displayed?

@prrao87 prrao87 added bug Something isn't working invalid This doesn't seem right labels Jul 10, 2024
@mewim mewim linked a pull request Jul 18, 2024 that will close this issue
@mewim mewim closed this as completed Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants