I am new to neo4j,when I studied the course of 2-c-add-intermediate-node,I did some wrong steps,the data changed,when I clicked "check database" button,it shows "Try again......".How to reset the graph data?
Hi all, I understand that running:
match (n) detach delete n;
will delete all nodes and relationships - but if I want to reset everything back to the beginning (reset all constraints and load data clauses) how can I do this?
Ideally, I just want a blank graph and start again (maintaining only the files in my import folder and APOC and GDS plugins). Cheers
@elaine_rosenber Thank you !
This will totally reset data and indexes/constraints:
CREATE OR REPLACE DATABASE neo4j