Answers for "delete single node in neo4j"

SQL
8

delete all nodes neo4j

MATCH (n) DETACH DELETE n;
Posted by: Guest on June-21-2020
0

neo4j delete node by id

MATCH (p:Person) where ID(p)=1
OPTIONAL MATCH (p)-[r]-() //drops p's relations
DELETE r,p
Posted by: Guest on May-07-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language