How To Get Python Mongo Aggregate Explain Using Db.command?
Starting with MongoDB 3.2 explain() uses the default verbosity mode of the explain command, allPlansExecution. To use a different verbosity use command() to run the explain co
Solution 1:
As on 22-May-2019 with MongoDB 4.0
pymongo currently allows explain only via db.command() and this internally uses the Aggregation Command and Aggregation which limits explain to a Boolean switch which defaults to QueryPlanner as seen here
Post a Comment for "How To Get Python Mongo Aggregate Explain Using Db.command?"