* Removes an index created with createIndex. * Returns true when an index existed and was removed. * * Best-effort semantics: removing an index guarantees it is detached from * collection query planning. Existing index proxy references should be treated * as invalid after removal.
(indexOrId: BaseIndex<TKey> | number)
| 611 | * as invalid after removal. |
| 612 | */ |
| 613 | public removeIndex(indexOrId: BaseIndex<TKey> | number): boolean { |
| 614 | return this._indexes.removeIndex(indexOrId) |
| 615 | } |
| 616 | |
| 617 | /** |
| 618 | * Returns a snapshot of current index metadata sorted by indexId. |
no outgoing calls
no test coverage detected