$mul operator
This commit is contained in:
parent
5a88eb89f7
commit
c334f206ed
1 changed files with 2 additions and 0 deletions
|
|
@ -111,6 +111,8 @@
|
||||||
;; (monger.collection/update "scores" { :_id user-id } { :score 20 :bonus 10 } })
|
;; (monger.collection/update "scores" { :_id user-id } { :score 20 :bonus 10 } })
|
||||||
(defoperator $inc)
|
(defoperator $inc)
|
||||||
|
|
||||||
|
(defoperator $mul)
|
||||||
|
|
||||||
;; $set sets an existing (or non-existing) field (or set of fields) to value
|
;; $set sets an existing (or non-existing) field (or set of fields) to value
|
||||||
;; $set supports all datatypes.
|
;; $set supports all datatypes.
|
||||||
;;
|
;;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue