Merge branch 'master' of github.com:michaelklishin/monger
This commit is contained in:
commit
175f17af97
1 changed files with 3 additions and 3 deletions
|
|
@ -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\")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue