fixed doc for query dsl - fields should be passed a vector, not a map.

This commit is contained in:
Toby Hede 2012-01-28 22:20:55 +11:00
parent 7b719baf7f
commit a895902805

View file

@ -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)