Merge branch 'master' of github.com:michaelklishin/monger

This commit is contained in:
Michael Klishin 2012-12-23 04:05:29 +04:00
commit 175f17af97

View file

@ -323,11 +323,11 @@
(.count (.getCollection db (name collection)) (to-db-object conditions))))
(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:
;; wether the collection has any items
;; whether the collection has any items
(mgcol/any? collection)
(mgcol/any? collection {:language \"Clojure\"}))
@ -341,7 +341,7 @@
(defn empty?
"Wether the collection is empty.
"Whether the collection is empty.
EXAMPLES:
(mgcol/empty? \"things\")