Details
-
Improvement
-
Resolution: Done
-
Minor - P4
-
None
-
*Location*: http://docs.mongodb.org/manual/reference/operator/update/set/
*User-Agent*: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.152 Safari/537.36
*Referrer*: http://docs.mongodb.org/manual/search/?query=set
*Screen Resolution*: 1280 x 1024
*repo*: docs
*source*: reference/operator/update/set
*Location*: http://docs.mongodb.org/manual/reference/operator/update/set/ *User-Agent*: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.152 Safari/537.36 *Referrer*: http://docs.mongodb.org/manual/search/?query=set *Screen Resolution*: 1280 x 1024 *repo*: docs *source*: reference/operator/update/set
Description
I could not find how to modify a single element of an array, so I asked in freenode #mongodb and learned the dot notation. I think an example using the dot notation with $set in this doc page would be helpful.
Reporter: jkhl