Using Match and Where can delete a relationship by ID.
Match ()-[r]-() Where ID(r)=1 Delete r
Is there a simpler way?
Using Match and Where can delete a relationship by ID.
Match ()-[r]-() Where ID(r)=1 Delete r
Is there a simpler way?
Using the old syntax, but that will be removed in a future version.
start r=rel(id) delete r;
Using the old syntax, but that will be removed in a future version.
start r=rel(id) delete r;
You can delete by simple modified chyper for delete some Relations.
This is my code:
MATCH ()-[r]->() WHERE id(r)=43 OR id(r)=44 OR id(r)=45 DELETE r
© 2022 - 2024 — McMap. All rights reserved.