I thought that in Cypher relationship "<-[r]->" means "<-[r]- AND -[r]->, while relationship "-[r]-" means "<-[r]- OR -[r]->". But they returned the same result.
start n=node(1), m=node(2) create n-[:no_direction]-m;
start n=node(1), m=node(2) create n-[:left]->m;
start n=node(1), m=node(2) create n<-[:both_direction]->m;
start n=node(1), m=node(2) match n-[r]-m return r;
start n=node(1), m=node(2) match n<-[r]->m return r;
Both "match n-[r]-m return r" and "match n<-[r]->m return r" return 3 records. I thought that "match n-[r]-m return r" should return 3 records, and "match n<-[r]->m return r" should only return one record.
How do I distinguish relationships between <-[r]-> and -[r]- in Cypher query?