cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Display entities and links

Hi all,
I seek to have all the entities with their associated arcs which have a link with a specific entity.
For example, all the warehouses that deliver a particular store.
I tried but I can't get what I want.

"MATCH p = () -> (Store {store:" EXAMPLE "}) -> () RETURN p

Thank you in advance for your answers.

1 ACCEPTED SOLUTION

Hello @sander.gamboa

Can you share the model and put the PNG file here?

CALL db.schema.visualization

But you can try

MATCH (a)-[r1]->(Store {store:"EXAMPLE"})-[r2]->(b) RETURN *
MATCH p=(a)-[r1]->(Store {store:"EXAMPLE"})-[r2]->(b) RETURN p

Regards,
Cobra

View solution in original post

2 REPLIES 2

Hello @sander.gamboa

Can you share the model and put the PNG file here?

CALL db.schema.visualization

But you can try

MATCH (a)-[r1]->(Store {store:"EXAMPLE"})-[r2]->(b) RETURN *
MATCH p=(a)-[r1]->(Store {store:"EXAMPLE"})-[r2]->(b) RETURN p

Regards,
Cobra

Thanks for your answer ! It works !