How to delete/create databases in Neo4j?

前端 未结 12 1191
既然无缘
既然无缘 2020-12-12 11:52

Is it possible to create/delete different databases in the graph database Neo4j like in MySQL? Or, at least, how to delete all nodes and relationships of an existing graph t

12条回答
  •  眼角桃花
    2020-12-12 12:35

    even more simple command to delete all nodes and relationships:

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

提交回复
热议问题