Q. Which method creates an index?
Solution:
createIndex() creates an index on a field in MongoDB.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
createIndex() creates an index on a field in MongoDB.
Strengthen Your Practice with our comprehensive question bank.