Details
-
Improvement
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
Fully Compatible
-
Query 2019-12-16
Description
In the shell, it is possible to enable "allowDiskUse" for a find operation by calling the 'allowDiskUse()' function. However, if the find operation is part of an explain, 'allowDiskUse()' is no longer available.
> db.test.explain().find({$sort: {x: 1}}).allowDiskUse()
|
2019-11-21T12:10:23.017-0500 E QUERY [js] uncaught exception: TypeError: db.test.explain(...).find(...).allowDiskUse is not a function :
|
@(shell):1:1
|