Hello, I want to empty the db and I was testing this way (I do not know if it's the right one)
Iterable<Vertex> resultIteratorVertices = graph.getVertices(true); for (Vertex v : resultIteratorVertices){ graph.command( new OCommandSQL("TRUNCATE CLASS "+ *v.getClass* + " POLYMORPHIC UNSAFE") ).execute(); } To remove all records from all classes, but I can not figure out how to get the type of class from each record -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to orient-database+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.