From 05669a6778472963f4b6494dd48be3544ee8a848 Mon Sep 17 00:00:00 2001 From: "Michael S. Klishin" Date: Sun, 8 Apr 2012 23:52:33 +0400 Subject: [PATCH] Correct query DSL example in the README, references #19 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0ca1f13..f58c963 100644 --- a/README.md +++ b/README.md @@ -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")