summaryrefslogtreecommitdiff
path: root/src/mongo/shell
diff options
context:
space:
mode:
authorTed Tuckman <ted.tuckman@mongodb.com>2019-04-08 12:38:26 -0400
committerTed Tuckman <ted.tuckman@mongodb.com>2019-04-25 09:18:51 -0400
commitf740b0abe67453ca069555af7eea76f063ba90a9 (patch)
tree7cb2145318ff1a813e0b2166cdd242198e74b3bf /src/mongo/shell
parent252f84531a023b02cef56d79c1b498e1c4c9d096 (diff)
downloadmongo-f740b0abe67453ca069555af7eea76f063ba90a9.tar.gz
SERVER-40253 Implement count command in IDL
Diffstat (limited to 'src/mongo/shell')
-rw-r--r--src/mongo/shell/query.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/shell/query.js b/src/mongo/shell/query.js
index fcd69c21f45..d51a2ba03fb 100644
--- a/src/mongo/shell/query.js
+++ b/src/mongo/shell/query.js
@@ -357,7 +357,6 @@ DBQuery.prototype._convertToCountCmd = function(applySkipLimit) {
cmd.query = this._query;
}
}
- cmd.fields = this._fields || {};
if (applySkipLimit) {
if (this._limit)