Cosmetics
This commit is contained in:
parent
c334f206ed
commit
84e76c1e30
1 changed files with 4 additions and 2 deletions
|
|
@ -20,8 +20,10 @@
|
||||||
|
|
||||||
(defn ^DBCursor make-db-cursor
|
(defn ^DBCursor make-db-cursor
|
||||||
"initializes new db-cursor."
|
"initializes new db-cursor."
|
||||||
([^String collection] (make-db-cursor collection {} {}))
|
([^String collection]
|
||||||
([^String collection ^Map ref] (make-db-cursor collection ref {}))
|
(make-db-cursor collection {} {}))
|
||||||
|
([^String collection ^Map ref]
|
||||||
|
(make-db-cursor collection ref {}))
|
||||||
([^String collection ^Map ref fields]
|
([^String collection ^Map ref fields]
|
||||||
(.find
|
(.find
|
||||||
(.getCollection monger.core/*mongodb-database* (name collection))
|
(.getCollection monger.core/*mongodb-database* (name collection))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue