Hi Ameer, I think we could implement "drop database if exists" command. Could you create a feature request<https://github.com/orientechnologies/orientdb/issues/new> ?
Best regards, Artem Orobets * Orient Technologiesthe Company behind OrientDB* 2014-02-13 10:27 GMT+02:00 Ameer Tamboli <[email protected]>: > I want to write a script which will be run on OrientDB Console. The > script needs to delete the database if it exists and create new one. > > I am using following commands: > > drop database remote:localhost/testgraphdb1 root xyz > > create database remote:localhost/testgraphdb1 root xyz local graph; > > > How can I avoid the error occurred when the command tries to drop a > database which doesn't exist. > > -- > > --- > 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 [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- --- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
