diff options
author | Benety Goh <benety@mongodb.com> | 2014-03-13 10:50:08 -0400 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2014-03-13 10:50:08 -0400 |
commit | ab90f7fe5ec57e301a672c3696048f5a5c27fb8e (patch) | |
tree | ff64fb4fb050c9fc49eb00b2a41c2fcfeff71271 /src/mongo/shell/collection.js | |
parent | e2c1d460b874e4deffcd7f18e32a45284d84d0d5 (diff) | |
download | mongo-ab90f7fe5ec57e301a672c3696048f5a5c27fb8e.tar.gz |
SERVER_12951 added getPlanCache() to Collection.help()
Diffstat (limited to 'src/mongo/shell/collection.js')
-rw-r--r-- | src/mongo/shell/collection.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/shell/collection.js b/src/mongo/shell/collection.js index 54dac111096..2c1b0bd8574 100644 --- a/src/mongo/shell/collection.js +++ b/src/mongo/shell/collection.js @@ -51,6 +51,7 @@ DBCollection.prototype.help = function () { print("\tdb." + shortName + ".findOne([query])"); print("\tdb." + shortName + ".findAndModify( { update : ... , remove : bool [, query: {}, sort: {}, 'new': false] } )"); print("\tdb." + shortName + ".getDB() get DB object associated with collection"); + print("\tdb." + shortName + ".getPlanCache() get query plan cache associated with collection"); print("\tdb." + shortName + ".getIndexes()"); print("\tdb." + shortName + ".group( { key : ..., initial: ..., reduce : ...[, cond: ...] } )"); // print("\tdb." + shortName + ".indexStats({expandNodes: [<expanded child numbers>}, <detailed: t/f>) - output aggregate/per-depth btree bucket stats"); |