mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
more help MINOR
This commit is contained in:
parent
bbc07f85ec
commit
236f13cec5
@ -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)");
|
||||
|
Loading…
Reference in New Issue
Block a user