Graph database Neo4j deletes all nodes and relationships

The Cypher command is as follows

MATCH (n)
OPTIONAL MATCH (n)-[r]-()
DELETE n,r

Guess you like

Origin blog.csdn.net/hardyer/article/details/102522238