Answer Posted / Sunny Rana
{"indexes": "To view the existing indexes on a MongoDB collection, you can run the command `db.<collectionName>.getIndexes()` or use the `ds.collectionAggragate` method with the `$indexStats` pipeline stage."]}
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers