Merge pull request #46 from rbxbx/patch-1

Correct spelling in monger/collection
This commit is contained in:
Michael Klishin 2012-12-10 15:20:50 -08:00
commit 8c17da69b5

View file

@ -323,11 +323,11 @@
(.count (.getCollection db (name collection)) (to-db-object conditions)))) (.count (.getCollection db (name collection)) (to-db-object conditions))))
(defn any? (defn any?
"Wether the collection has any items at all, or items matching query. "Whether the collection has any items at all, or items matching query.
EXAMPLES: EXAMPLES:
;; wether the collection has any items ;; whether the collection has any items
(mgcol/any? collection) (mgcol/any? collection)
(mgcol/any? collection {:language \"Clojure\"})) (mgcol/any? collection {:language \"Clojure\"}))
@ -341,7 +341,7 @@
(defn empty? (defn empty?
"Wether the collection is empty. "Whether the collection is empty.
EXAMPLES: EXAMPLES:
(mgcol/empty? \"things\") (mgcol/empty? \"things\")