diff options
Diffstat (limited to 'src/mongo/shell/collection.js')
-rw-r--r-- | src/mongo/shell/collection.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mongo/shell/collection.js b/src/mongo/shell/collection.js index 998d4db3e90..8d242a347a9 100644 --- a/src/mongo/shell/collection.js +++ b/src/mongo/shell/collection.js @@ -1780,10 +1780,8 @@ PlanCache.prototype.clear = function() { * List plans for a query shape. */ PlanCache.prototype.getPlansByQuery = function(query, projection, sort, collation) { - return this - ._runCommandThrowOnError("planCacheListPlans", - this._parseQueryShape(query, projection, sort, collation)) - .plans; + return this._runCommandThrowOnError("planCacheListPlans", + this._parseQueryShape(query, projection, sort, collation)); }; /** |