Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

neo4j delete node by id

MATCH (p:Person) where ID(p)=1
OPTIONAL MATCH (p)-[r]-() //drops p's relations
DELETE r,p
 
PREVIOUS NEXT
Tagged: #delete #node #id
ADD COMMENT
Topic
Name
2+1 =