Correct query DSL example in the README, references #19
This commit is contained in:
parent
e4ad10fc11
commit
05669a6778
1 changed files with 1 additions and 1 deletions
|
|
@ -223,7 +223,7 @@ Here is what monger.query DSL feels like:
|
|||
(with-collection "movies"
|
||||
(find { :year { $lt 2010 $gte 2000 }, :revenue { $gt 20000000 } })
|
||||
(fields [ :year :title :producer :cast :budget :revenue ])
|
||||
(sort-by { :revenue -1 })
|
||||
(sort { :revenue -1 })
|
||||
(skip 10)
|
||||
(limit 20)
|
||||
(hint "year-by-year-revenue-idx")
|
||||
|
|
|
|||
Loading…
Reference in a new issue