[SERVER-833] update nest array item bug Created: 26/Mar/10 Updated: 12/Jul/16 Resolved: 26/Mar/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 1.4.0 |
| Fix Version/s: | 1.4.1, 1.5.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Tony Zhu | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Linux tanglive.com 2.6.9-78.ELsmp #1 SMP Fri Jul 25 00:04:28 EDT 2008 i686 i686 i386 GNU/Linux |
||
| Participants: |
| Description |
|
> db.foo.insert( {"items":[null,null,null,null]}) > db.foo.update({_id:ObjectId("4bac322669b89c9179dc9976")},{$set:{"items.0": {itemId:1,amount:9000}}}) , null, null, null ] } ,$set:{"items.1": {itemId:1,amount:1}}}) , , , I hope that the result should be , , |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 26/Apr/10 ] |
|
in a release |
| Comment by auto [ 26/Mar/10 ] |
|
Author: {'login': 'erh', 'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}Message: fix array numberic sort order |
| Comment by auto [ 26/Mar/10 ] |
|
Author: {'login': 'erh', 'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}Message: fix array numberic sort order |