Liking cljdoc? Tell your friends :D

monger.query

Provides an expressive Query DSL that is very close to that in the Mongo shell (within reason). This is the most flexible and recommended way to query with Monger. Queries can be composed, like in Korma.

Related documentation guide: http://clojuremongodb.info/articles/querying.html

Provides an expressive Query DSL that is very close to that in the Mongo shell (within reason).
This is the most flexible and recommended way to query with Monger. Queries can be composed, like in Korma.

Related documentation guide: http://clojuremongodb.info/articles/querying.html
raw docstring

batch-sizeclj

(batch-size m n)
source

empty-queryclj

(empty-query)
(empty-query coll)
source

execclj

(exec {:keys [collection query fields skip limit sort batch-size hint snapshot
              read-preference keywordize-fields max-time options]
       :or {limit 0 batch-size 256 skip 0}})
source

fieldsclj

(fields m flds)
source

findclj

(find m query)
source

hintclj

(hint m h)
source

keywordize-fieldsclj

(keywordize-fields m bool)
source

limitclj

(limit m n)
source

max-timeclj

(max-time m max-time)
source

optionsclj

(options m opts)
source

paginateclj

(paginate m & {:keys [page per-page] :or {page 1 per-page 10}})
source

partial-querycljmacro

(partial-query & body)
source

read-preferenceclj

(read-preference m rp)
source

skipclj

(skip m n)
source

snapshotclj

(snapshot m)
source

sortclj

(sort m srt)
source

with-collectioncljmacro

(with-collection db coll & body)
source

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

× close