cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Deleting the relationship under a where clause

shubham
Node Clone

Hi every one

match(c)-[x:InteractsWith]-(p) where p.poster is null delete x

i have executed the above query expecting only the relationship with the clause will be deleted but turned out it deleted all the relationship, any idea if i can undo that?
thanks in advance

1 REPLY 1

shubham
Node Clone

the possible reason it deleted all the relationship is i forgot to add the arrows (direction) so i just want to know if there is any way we can undo it?