Neo4j Tutorial - Neo4j Bidirectional Relationship
There is no need to create bidirectional relationship in Neo4j. If you created a relationship between two nodes means that act as forward and reverse direction.
The idea lying on the Symbol > . because if you have statement like below
The idea lying on the Symbol > . because if you have statement like below
MATCH (n)-[:REL]->(m)the above query will run in forward direction only . MATCH (n)<-[:REL]-(m)the above query will run in reverse direction only .
MATCH (n)-[:REL]-(m)the above query will run in both forward and reverse directionso if you want to move forward and reverse means remove the Symbol(> or <) 
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home