[SERVER-4176] Add more intuitive object argument to shell's update method Created: 31/Oct/11 Updated: 11/Jul/16 Resolved: 31/Oct/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | None |
| Fix Version/s: | 2.1.0 |
| Type: | Improvement | Priority: | Trivial - P5 |
| Reporter: | Brandon Diamond | Assignee: | Brandon Diamond |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
Currently, db.coll.update(...) utilizes two boolean values to represent upsert and multiupdate. It would be more intuitive and memorable (as well as backwards compatible) if one could pass an object mapping "multi" and "upsert", instead. |
| Comments |
| Comment by Brandon Diamond [ 14/Nov/11 ] |
|
I've added the appropriate documentation to shell help |
| Comment by auto [ 14/Nov/11 ] |
|
Author: {u'login': u'', u'name': u'Brandon Diamond', u'email': u'brandon@10gen.com'}Message: |
| Comment by Dwight Merriman [ 13/Nov/11 ] |
|
please update the shell help to reflect |
| Comment by auto [ 01/Nov/11 ] |
|
Author: {u'login': u'', u'name': u'Brandon Diamond', u'email': u'brandon@10gen.com'}Message: |
| Comment by auto [ 31/Oct/11 ] |
|
Author: {u'login': u'', u'name': u'Brandon Diamond', u'email': u'brandon@10gen.com'}Message: |