1.

How to delete node neo4j?

Answer»

To delete a node in Neo4j, we have to USE the DELETE CLAUSE. It also can be used to delete

relationships or PATHS. The syntax will be as following to delete a single node:

MATCH (n:Person { name: 'UNKNOWN' })

DELETE n

To delete all NODES:

MATCH (n)

DETACH DELETE n



Discussion

No Comment Found