Merge pull request #150 from frooeyzanny/fix-pullAll-example
Fix $pullAll example
This commit is contained in:
commit
c1acd78060
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue