SQL - TRUNCATE CLUSTER

Deletes all records of a cluster. This command operates at a lower level than the standard DELETE command.

Syntax

  1. TRUNCATE CLUSTER <cluster>
  • <cluster> Defines the cluster to delete.

Examples

  • Remove all records in the cluster profile:

    1. orientdb> TRUNCATE CLUSTER profile

For more information, see