I want to get a relationship between two nodes ?
if there is a relation node(1) [:knows] node(2)
how do i get the relationship by using cypher query ?
START r=node(196), s=node(198) MATCH r-[rel:knows]->s RETURN TYPE(rel)
this gives what I want.
But since there could be different relationships between two node for example
node1 -[:knows]->node2
node1 -[:friendrequest]->node 12
basically, i want to send nodes to the query and return whether relation is knows or friendrequest. thanks!
thanks!