neo4j :
MATCH (n)
OPTIONAL MATCH (n)-[r]-()
DELETE n,r
es :
curl -XDELETE http://localhost:9200/*
JanusGraph :
graph.close()
JanusGraphFactory.drop(graph)
neo4j :
MATCH (n)
OPTIONAL MATCH (n)-[r]-()
DELETE n,r
es :
curl -XDELETE http://localhost:9200/*
JanusGraph :
graph.close()
JanusGraphFactory.drop(graph)
本文标题:删库跑路
本文链接:https://www.haomeiwen.com/subject/kacfrqtx.html
网友评论