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

Feature request: parity between RETURN <node> and RETURN <relationship> #57

Open
ntjess opened this issue Dec 18, 2024 · 2 comments
Open
Labels
bug Something isn't working

Comments

@ntjess
Copy link
Contributor

ntjess commented Dec 18, 2024

For the query MATCH (A)-[r]->(B), RETURN r will provide the full dict of attributes. It would be nice to see the same behavior when returning nodes, e.g. having RETURN A provide all node info. Currently, the returned attribute is only the name, and undefined when name is not part of the matching (as in the karate club example match).

In the meantime, is there any way to request GrandCypher to return all attributes of the matched node?

@j6k4m8 j6k4m8 added the bug Something isn't working label Dec 19, 2024
@j6k4m8
Copy link
Member

j6k4m8 commented Dec 19, 2024

this should be relatively straightforward — will take a look later today! I expect this is a one- or two-line fix...

@j6k4m8
Copy link
Member

j6k4m8 commented Dec 20, 2024

Probably more like a 3- or 4-line fix, hang tight!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants