From a1f35666326085e16293d0e57acd14e5e0f59e49 Mon Sep 17 00:00:00 2001 From: Michael Klishin Date: Wed, 19 Nov 2014 15:16:52 +0000 Subject: [PATCH] Correct docstring example --- src/clojure/monger/core.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clojure/monger/core.clj b/src/clojure/monger/core.clj index 11f6b55..b9e9fc0 100644 --- a/src/clojure/monger/core.clj +++ b/src/clojure/monger/core.clj @@ -175,7 +175,7 @@ "Runs a database command (please check MongoDB documentation for the complete list of commands). Ordering of keys in the command document may matter. Please use sorted maps instead of map literals, for example: - (sorted-map geoNear db \"bars\" :near 50 :test 430 :num 10) + (array-map :near 50 :test 430 :num 10) For commonly used commands (distinct, count, map/reduce, etc), use monger.command and monger.collection functions such as /distinct, /count, /drop, /dropIndexes, and /mapReduce respectively."