company logo

Property :: eraseIndexes - Delete all indexes

The function will delete all indexes of a collection, which results in an empty collection. Since instances are not removed properly and relationships are not maintained, the function should be called in urgent situations, only (e.g. when the collection is damaged and cannot be repaired). After calling the function, a database check (CheckDB) or copy (CopyDB) is required in order to guarantee database consistency.

Implementation details

Property  :: eraseIndexes (  )