0 votes
in MongoDB by
In MongoDB, which command can be used to provide all information of a query plan in MongoDB?

1 Answer

0 votes
by

The explain() command is used to provide information of all the query plans. The possible models are as follows:

'queryPlanner', 

'executionStats'

'allPlansExecution'.

More information about MongoDB find queries

Related questions

0 votes
asked Nov 21, 2021 in MongoDB by DavidAnderson
0 votes
asked May 18, 2020 in MongoDB by SakshiSharma
...