neo4j之清空neo4j
2019-05-26 本文已影响0人
王金松
方法一
match (n)
option match (n)-[r]-()
delete n,r
方法二
match (n)-[r]-(n1) delete n,r,n1;
match (n) delete n
方法三
match [r] delete r;
match (n) delete n;
方法四
进入neo4j的data目录,删除databases
[admin@A01-R22-I12-194-J341NDV data]$ pwd
/export/software/neo4j/data
[admin@A01-R22-I12-194-J341NDV data]$ ls
databases dbms