fixed doc for query dsl - fields should be passed a vector, not a map.
This commit is contained in:
parent
7b719baf7f
commit
a895902805
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ Here is what monger.query DSL feels like:
|
|||
``` clojure
|
||||
(with-collection "docs"
|
||||
(find { :inception_year { $lt 2000 $gte 2011 } })
|
||||
(fields { :inception_year 1 :name 1 })
|
||||
(fields [ :inception_year :name ])
|
||||
(skip 10)
|
||||
(limit 20)
|
||||
(batch-size 50)
|
||||
|
|
|
|||
Loading…
Reference in a new issue