[SERVER-333] mixing $inc and $push Created: 03/Oct/09 Updated: 23/Jul/21 Resolved: 28/Dec/09 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Write Ops |
| Affects Version/s: | None |
| Fix Version/s: | 1.3.0 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Eliot Horowitz (Inactive) | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Description |
|
> {"nIndexesWas" : 1 , "msg" : "all indexes deleted for collection" , "ns" : > "businessinsider.test" , "ok" : 1}>> db.test.save( { comments: [ { name: 'blah', rate_up: 0, rate_down: 0, >> rate_ups: [], rate_downs: [] } ] } ); ]} , $push: { >> 'comments.0.rate_ups': 99 }} ); |
| Comments |
| Comment by auto [ 28/Dec/09 ] |
|
Author: {'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}Message: fix multiple $inc/$push on same embedded object |
| Comment by Eliot Horowitz (Inactive) [ 18/Dec/09 ] |
|
this is almost working - but actually exposes a bug |
| Comment by Eliot Horowitz (Inactive) [ 18/Dec/09 ] |
|
i think |