summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-09-10 10:40:38 -0400
committerEliot Horowitz <eliot@10gen.com>2009-09-10 10:40:38 -0400
commit236f13cec5705f6027a47be7095d49331872ef07 (patch)
treee785abd1d1dca734e574aacb0741d0adb1de5e47 /shell
parentbbc07f85eca951f216ffba82cd15fa08f1d9e6e4 (diff)
downloadmongo-236f13cec5705f6027a47be7095d49331872ef07.tar.gz
more help MINOR
Diffstat (limited to 'shell')
-rw-r--r--shell/collection.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/collection.js b/shell/collection.js
index 477a4ab8d98..7e8d11a64d3 100644
--- a/shell/collection.js
+++ b/shell/collection.js
@@ -30,7 +30,7 @@ DBCollection.prototype.help = function(){
print("DBCollection help");
print("\tdb.foo.getDB() get DB object associated with collection");
print("\tdb.foo.findOne(...)");
- print("\tdb.foo.find(...)");
+ print("\tdb.foo.find( [{..}] , [{...}]) - first parameters is an optional filter, 2nd paramter is optional and what fields to return. db.foo.find( { x : 1 } , { name : 1 , x : 1 } )");
print("\tdb.foo.find(...).sort(...)");
print("\tdb.foo.find(...).limit(n)");
print("\tdb.foo.find(...).skip(n)");