diff options
author | Eliot Horowitz <eliot@10gen.com> | 2009-09-10 10:40:38 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2009-09-10 10:40:38 -0400 |
commit | 236f13cec5705f6027a47be7095d49331872ef07 (patch) | |
tree | e785abd1d1dca734e574aacb0741d0adb1de5e47 /shell | |
parent | bbc07f85eca951f216ffba82cd15fa08f1d9e6e4 (diff) | |
download | mongo-236f13cec5705f6027a47be7095d49331872ef07.tar.gz |
more help MINOR
Diffstat (limited to 'shell')
-rw-r--r-- | shell/collection.js | 2 |
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)"); |