I am learning NEo4j from last few days. I created node with Relationship from NEO4j online tutorial.
Create node Mystic River using Statement
CREATE (:Movie {title:"Mystic River", released:1993})
Create node Kevin
CREATE (:Person {name: "Kevin Beacon",born:1998});
Added Relationship
MATCH (p:Person),(m:Movie) WHERE p.name="Kevin Beacon" and m.title="Mystic River" CREATE UNIQUE (p)-[:ACTED_IN{role:["Sean"]}]->(m) RETURN p,m;
Is there any way to rename existing relationship delete relationship between two node and create new relationship.
Alternatively I deleted node and realtionship by detach delete. and then recreated new one.
MATCH (n:Movie{title:"Mystic River"}) DETACH DELETE n;
Kindly suggest if there is rename of relationship.
Regards Faizan