diff --git a/src/monger/core.clj b/src/monger/core.clj index be62984..1deb7d7 100644 --- a/src/monger/core.clj +++ b/src/monger/core.clj @@ -267,7 +267,7 @@ MapReduceOutput (count [^MapReduceOutput this] - (.count (.results this)))) + (.count ^Iterable (.results this)))) (defn ^DBObject get-last-error "Returns the the error (if there is one) from the previous operation on this connection.