neo4j删除所有节点和关系

neo4j清空所有数据命令如下:

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

猜你喜欢

转载自blog.csdn.net/baidu_15113429/article/details/81015426