PYTHON-1656 explain() uses server default verbosity
This commit is contained in:
parent
c0c7c05652
commit
fe307058c8
@ -801,6 +801,13 @@ class Cursor(object):
|
||||
def explain(self):
|
||||
"""Returns an explain plan record for this cursor.
|
||||
|
||||
.. note:: Starting with MongoDB 3.2 :meth:`explain` uses
|
||||
the default verbosity mode of the `explain command
|
||||
<https://docs.mongodb.com/manual/reference/command/explain/>`_,
|
||||
``allPlansExecution``. To use a different verbosity use
|
||||
:meth:`~pymongo.database.Database.command` to run the explain
|
||||
command directly.
|
||||
|
||||
.. mongodoc:: explain
|
||||
"""
|
||||
c = self.clone()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user