OrientDB Manual 1.7.8

SQL - DROP CLASS

The 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.

Syntax

DROP CLASS <class>

Where:

  • class is the class of the schema

See also

Examples

Remove the class 'Account':

DROP CLASS Account