We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0c7c05 commit fe30705Copy full SHA for fe30705
pymongo/cursor.py
@@ -801,6 +801,13 @@ def distinct(self, key):
801
def explain(self):
802
"""Returns an explain plan record for this cursor.
803
804
+ .. note:: Starting with MongoDB 3.2 :meth:`explain` uses
805
+ the default verbosity mode of the `explain command
806
+ <https://docs.mongodb.com/manual/reference/command/explain/>`_,
807
+ ``allPlansExecution``. To use a different verbosity use
808
+ :meth:`~pymongo.database.Database.command` to run the explain
809
+ command directly.
810
+
811
.. mongodoc:: explain
812
"""
813
c = self.clone()
0 commit comments