[SERVER-181] $set with array indexes Created: 23/Jul/09 Updated: 12/Jul/16 Resolved: 18/Dec/09 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Write Ops |
| Affects Version/s: | None |
| Fix Version/s: | 1.3.0 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Eliot Horowitz (Inactive) | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 6 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Description |
|
[fcoury@imac 17:47]:$ mongo ]}) , {$set: {"test.0.new_attribute": "new_value"}}) ]} |
| Comments |
| Comment by auto [ 28/Dec/09 ] |
|
Author: {'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}Message: more tests for |
| Comment by auto [ 18/Dec/09 ] |
|
Author: {'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}Message: tests and minor fixes for |
| Comment by Eliot Horowitz (Inactive) [ 16/Oct/09 ] |
|
I created the following document (notebook): , , Notebook contains a list of collections (called notes). Now, after , { "$set" : { "notes.0.id" : 3 }}, safe=True); But, if I try to do this: , { "$set" : { "notes.0.name" : "Cool Graphics Note" } }, safe=True); |