Deletes Entity objects that satisfy the specified constraints. All connections associated with the objects will also be deleted.
- [optional] ref: Reference to other objects within the transaction.
- [optional] class: Specifies the entity class.
Either ref OR [class and/or constraints] must be specified.
If the ref parameter is used, the search results represented by it will not be valid for the remaining commands within the transaction.
If the constraints block is skipped, all entities with the given class are deleted.
Warning: Delete is an performance expensive command, as ApertureDB was designed for read intensive workloads.
Warning: If the search results represented by ref were for an image/video/descriptor and you use DeleteEntity, it will leave around the associated files.