cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! Site migration is underway. Phase 2: migrate recent content

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?