SQL - DROP INDEX

Removes an index from a property defined in the schema.

If the index does not exist, this call just returns with no errors.

Syntax

DROP INDEX <index>|<class>.<property> [ IF EXISTS ]
  • <index> Defines the name of the index.
  • <class> Defines the class the index uses.
  • <property> Defines the property the index uses.

Examples

  • Remove the index on the Id property of the Users class:

    orientdb> DROP INDEX Users.Id
    

For more information, see

results matching ""

    No results matching ""