mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 00:56:44 +01:00
doc
This commit is contained in:
parent
1c4f05b3bd
commit
a7f5b115d9
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user