Fix pullAll example

This commit is contained in:
Evgeny Samsonov 2016-11-02 18:14:31 +03:00
parent f499079bf7
commit 27ed7bdfb7

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)