图数据库Neo4j删除所有节点与关系

Cypher 命令如下

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

猜你喜欢

转载自blog.csdn.net/hardyer/article/details/102522238