Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
05-22-2020 10:38 AM
MATCH (n) WHERE NOT EXISTS(n.
date) DETACH DELETE n
I want to delete nodes with no date as shown above. This seems working. Is it safe?
Solved! Go to Solution.
05-22-2020 10:41 AM
Hello @lingvisa,
What do you want to know by 'is it safe'?
You can add the label node if you only want to check one type of node:)
Regards,
Cobra
05-22-2020 10:41 AM
Hello @lingvisa,
What do you want to know by 'is it safe'?
You can add the label node if you only want to check one type of node:)
Regards,
Cobra
05-22-2020 01:32 PM
Your query deletes all nodes with no date property as well as any relationships that those nodes have. And yep it's safe.
All the sessions of the conference are now available online