How we can create an index in MongoDB?
You can use the db.collection.createIndex()
method for creating Indexes in MongoDB.
BY Best Interview Question ON 03 Feb 2019
You can use the db.collection.createIndex()
method for creating Indexes in MongoDB.