0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 00:56:44 +01:00
This commit is contained in:
Eliot Horowitz 2009-12-28 13:10:39 -05:00
parent 1c4f05b3bd
commit a7f5b115d9

View File

@ -47,7 +47,7 @@ DBCollection.prototype.help = function(){
print("\tdb.foo.group( { key : ..., initial: ..., reduce : ...[, cond: ...] } )"); print("\tdb.foo.group( { key : ..., initial: ..., reduce : ...[, cond: ...] } )");
print("\tdb.foo.mapReduce( mapFunction , reduceFunction , <optional params> )" ); print("\tdb.foo.mapReduce( mapFunction , reduceFunction , <optional params> )" );
print("\tdb.foo.remove(query)" ); print("\tdb.foo.remove(query)" );
print("\tdb.foo.renameCollection( newName ) renames the collection"); print("\tdb.foo.renameCollection( newName , <dropTarget> ) renames the collection.");
print("\tdb.foo.save(obj)"); print("\tdb.foo.save(obj)");
print("\tdb.foo.stats()"); print("\tdb.foo.stats()");
print("\tdb.foo.storageSize() - includes free space allocated to this collection"); print("\tdb.foo.storageSize() - includes free space allocated to this collection");