SQL Drop Class - aemadrid/orientdb GitHub Wiki
The SQL Drop Class command removes a class from the schema. NOTE: Pay attention to maintain the schema coherent. For example avoid to remove classes that are super classes of others. The associated cluster won't be deleted.
DROP CLASS <class>
Where:
- class is the class of the schema
Remove the class 'Account':
DROP CLASS Account
To create a new class use the Create Class command.
To drop the associated cluster use the Drop Cluster command.
To know more about other SQL commands look at SQL commands.
This is a command of the Orient console. To know all the commands go to Console-Commands.