Drop an Graph From the Database

Hello!! I want to delete the graph stored in my database so that I can recreate the new graph. I am running the following command to delete the graph
JanusGraphFactory.drop(graph);
JanusGraphFactory.drop(graph);
1. Does it clean the graph schema too ? Or I need to drop schema separately ? 2. Does it deletes the data stored in the indexes ?
2 Replies
Bo
Bo17mo ago
It does drop the schema and the indexes.
deepak8347
deepak8347OP17mo ago
Thanks this was super helpful!!
Want results from more Discord servers?
Add your server