⛖ How to Create the bidirectional Relationships!?

cypher
relationship

(Moji Tavoni) #1

I tried to create bidirectional relationships by using this pattern (a)-[:]-(b) and also this one (a)<-[:]->(b).
but at the end result is direct to one part of the nodes from the first parenthesis to last one (a)-[:]->(b) any suggestion?


(Bratanic Tomaz) #2

Neo4j cannot store bidirectional relationships. No way around this, you can however treat relationships as bidirectional when querying your graph.