memgraph / mage

MAGE - Memgraph Advanced Graph Extensions :crystal_ball:
Apache License 2.0
244 stars 24 forks source link

[QUESTION] How can I return neighbour nodes attribute as my attribute #375

Closed adwu73 closed 10 months ago

adwu73 commented 11 months ago

This is not a bug, since Discord is not work in China. I am sorry to post a question here.

Take for the Game of Throne sandbox for example, give I can get all Charater node, and all Character node has an edge to Alliance which has name, how can I get result with all Charatern name together with All Alliance Name? I may need to get attrbutes from mutiple edges with different number of hops

Take for example, Let us say, A -> B, A->C->D, I woould like to get A name, B name, D name in one cypher command in memgraph

Can someone help me to know which capabilities I should use in Memgraph to achieve this? I can do this in neo4j via pattern match in RETURN clause

adwu73 commented 10 months ago

not needed