Cosmetics

This commit is contained in:
Michael Klishin 2014-05-10 17:04:38 -04:00
parent 42ca0efa5c
commit 8b237db382

View file

@ -179,13 +179,13 @@
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."
([^DB database ^Map cmd]
(.command ^DB database ^DBObject (to-db-object cmd))))
[^DB database ^Map cmd]
(.command ^DB database ^DBObject (to-db-object cmd)))
(defn ^com.mongodb.CommandResult raw-command
"Like monger.core/command but accepts DBObjects"
([^DB database ^DBObject cmd]
(.command database cmd)))
[^DB database ^DBObject cmd]
(.command database cmd))
(defprotocol Countable
(count [this] "Returns size of the object"))