Posts

Removing all records from an OrientDB collection

If you want to delete all records from an OrientDB collection, the best way to do this is using the OrientDB TRUNCATE Class command. To use the Truncate command in a Java application, you can use the following code: