Details
-
Improvement
-
Resolution: Done
-
Blocker - P1
-
None
-
*Location*: http://docs.mongodb.org/master/reference/operator/update/inc/#up._S_inc
*User-Agent*: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0
*Referrer*: http://docs.mongodb.org/master/reference/operator/update/
*Screen Resolution*: 1920 x 1080
*repo*: docs
*source*: reference/operator/update/inc
*Location*: http://docs.mongodb.org/master/reference/operator/update/inc/#up._S_inc *User-Agent*: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 *Referrer*: http://docs.mongodb.org/master/reference/operator/update/ *Screen Resolution*: 1920 x 1080 *repo*: docs *source*: reference/operator/update/inc
Description
This page should probably mention what the behaviour of $inc is if the field doesn't exist. Also, no mention of how it works with findAndModify?