Liking cljdoc? Tell your friends :D

monger.command

Provides convenience functions for performing most commonly used MongoDB commands. For a lower-level API that gives maximum flexibility, see monger.core/command. To use MongoDB 2.2 Aggregation Framework, see monger.collection/aggregate.

Related documentation guides:

Provides convenience functions for performing most commonly used MongoDB commands.
For a lower-level API that gives maximum flexibility, see `monger.core/command`. To use
MongoDB 2.2 Aggregation Framework, see `monger.collection/aggregate`.

Related documentation guides:

* http://clojuremongodb.info/articles/commands.html
* http://clojuremongodb.info/articles/aggregation.html
* http://clojuremongodb.info/articles/mapreduce.html
raw docstring

admin-commandclj

(admin-command m)

Executes a command on the admin database

Executes a command on the admin database
sourceraw docstring

collection-statsclj

(collection-stats collection)
(collection-stats database collection)
source

compactclj

(compact collection)
(compact database collection)

Rewrites and defragments a single collection using the compact command. This also forces all indexes on the collection to be rebuilt

Rewrites and defragments a single collection using the compact command. This also forces all indexes on the collection to be rebuilt
sourceraw docstring

convert-to-cappedclj

(convert-to-capped collection size)
(convert-to-capped database collection size)

Converts an existing, non-capped collection to a capped collection using the convertToCapped command

Converts an existing, non-capped collection to a capped collection using the convertToCapped command
sourceraw docstring

db-statsclj

(db-stats)
(db-stats database)
source

empty-cappedclj

(empty-capped collection)
(empty-capped database collection)

Removes all documents from a capped collection using the emptycapped command

Removes all documents from a capped collection using the emptycapped command
sourceraw docstring

reindex-collectionclj

(reindex-collection collection)
(reindex-collection database collection)

Forces an existing collection to be reindexed using the reindexCollection command

Forces an existing collection to be reindexed using the reindexCollection command
sourceraw docstring

rename-collectionclj

(rename-collection from to)
(rename-collection database from to)

Changes the name of an existing collection using the renameCollection command

Changes the name of an existing collection using the renameCollection command
sourceraw docstring

(search collection query)
(search database collection query)
source

server-statusclj

(server-status)
(server-status database)
source

topclj

(top)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close