monger.command
admin-command
(admin-command conn m)
Executes a command on the admin database
collection-stats
(collection-stats database collection)
compact
(compact db collection)
Rewrites and defragments a single collection using the compact command. This also forces all indexes on the collection to be rebuilt
convert-to-capped
(convert-to-capped db collection size)
Converts an existing, non-capped collection to a capped collection using the convertToCapped command
db-stats
(db-stats database)
empty-capped
(empty-capped db collection)
Removes all documents from a capped collection using the emptycapped command
raw-admin-command
(raw-admin-command conn cmd)
Executes a command on the admin database
reindex-collection
(reindex-collection database collection)
Forces an existing collection to be reindexed using the reindexCollection command
rename-collection
(rename-collection db from to)
Changes the name of an existing collection using the renameCollection command
server-status
(server-status db)