Cosmetics

This commit is contained in:
Michael Klishin 2014-03-02 14:35:01 +04:00
parent c334f206ed
commit 84e76c1e30

View file

@ -20,8 +20,10 @@
(defn ^DBCursor make-db-cursor
"initializes new db-cursor."
([^String collection] (make-db-cursor collection {} {}))
([^String collection ^Map ref] (make-db-cursor collection ref {}))
([^String collection]
(make-db-cursor collection {} {}))
([^String collection ^Map ref]
(make-db-cursor collection ref {}))
([^String collection ^Map ref fields]
(.find
(.getCollection monger.core/*mongodb-database* (name collection))