$explain¶
- $explain¶
Deprecated since version 3.0: The $explain operator is deprecated. Use db.collection.explain() or cursor.explain() instead.
The $explain operator provides information on the query plan. It returns a document that describes the process and indexes used to return the query. This may provide useful insight when attempting to optimize a query. For details on the output, see cursor.explain().