[DOCS-2011] add example of $set with multiple fields. Created: 30/Sep/13  Updated: 11/Jan/17  Resolved: 03/Oct/13

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Task Priority: Major - P3
Reporter: Derick Rethans Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 10 years, 19 weeks, 6 days ago

 Description   

The documentation for

$set

at http://docs.mongodb.org/manual/reference/operator/set/#op._S_set only has an example for setting one field, but you can also use multiple fields with one $set. Please add that example to $set, and also to other operators at http://docs.mongodb.org/manual/reference/operator/update-field/



 Comments   
Comment by auto [ 03/Oct/13 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-2011 moving syntax examples around
Branch: master
https://github.com/mongodb/docs/commit/5c6bf565e761911f59981717b9d41fb70f05ef40

Comment by auto [ 03/Oct/13 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-2011 add update operator examples with multiple fields
Branch: master
https://github.com/mongodb/docs/commit/fd507895902cb5a2d38115f9d9b7ce3eb3680015

Generated at Thu Feb 08 07:42:27 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.