This commit is contained in:
Robert Pitts 2012-12-10 15:17:15 -08:00
commit 8800ca185e

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\")