Final Exam - Question 5

The answer says that “No, by default explain() will not execute your query” but the documentation says “By default, explain runs in "allPlansExecution" verbosity”.

If by default explain does not execute the query then what is “allPlansExecution” executing?

Docs: explain — MongoDB Manual

Hi @Keith_O_Dulaigh,

Let me check and get back to you.

Kind Regards,
Sonali