Sail E0 Webinar
Question
In the MongoDB shell, how can you tell if an index was used with a query?
Options:
A .  db.customers.find({lastName: ‘smith’}).explain()
B .  db.customers.find({lastName: ‘smith’}).perf()
C .  db.customers.find({lastName: ‘smith’}).plan()
Answer: Option A

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers