Thanks, Pete, this is perfect!
-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On
Behalf Of Peter Neubauer
Sent: Saturday, August 27, 2011 6:47 PM
To: Neo4j user discussions
Subject: Re: [Neo4j] Delete all contents in graph?
Raffi,
you can do
Raffi,
you can do something like
https://github.com/neo4j/community/blob/master/kernel/src/test/java/org/neo4j/test/ImpermanentGraphDatabase.java#L203,
basically walking all nodes and deleting the relationships, and delete the
nodes after that.
Would that work?
Otherwise, simple shutdown the DB,
Is there a function to delete all contents in the graph?
Raffi
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
3 matches
Mail list logo