Answers for "delete node in neo4j"

SQL
8

delete all nodes neo4j

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

neo4j delete everything in database

MATCH (n)
DETACH DELETE n
Posted by: Guest on July-20-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
0

neo4j delete node by id

MATCH (p:other) where p.tag_id="792e93e4-84b2-47ba-8961-e284a04b272b"
DELETE p
Posted by: Guest on May-07-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language