Merge pull request #150 from frooeyzanny/fix-pullAll-example

Fix $pullAll example
This commit is contained in:
Michael Klishin 2016-11-20 19:44:12 +03:00 committed by GitHub
commit c1acd78060

View file

@ -227,8 +227,8 @@
;; an error condition is raised. ;; an error condition is raised.
;; ;;
;; EXAMPLES: ;; EXAMPLES:
;; (mgcol/update coll { :_id oid } { $pull { :measurements 1.2 } }) ;; (mgcol/update coll { :_id oid } { $pullAll { :measurements 1.2 } })
;; (mgcol/update coll { :_id oid } { $pull { :measurements { $gte 1.2 } } }) ;; (mgcol/update coll { :_id oid } { $pullAll { :measurements { $gte 1.2 } } })
(defoperator $pullAll) (defoperator $pullAll)
(defoperator $bit) (defoperator $bit)