[SERVER-248] DBRefs - "invalid $operator: $id", sometimes. Created: 20/Aug/09 Updated: 10/Sep/09 Resolved: 20/Aug/09 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Index Maintenance, Shell, Usability |
| Affects Version/s: | 0.9.9 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Phillip Oldham | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
> use test }) > db.main.find({"_ref": {"$ref" : "test" , "$id" : "b44ab2b6-c502-11dd-b0b6-001d7dc91168"} }) Since objects/dictionaries/associative arrays are unordered, one would expect the first example to work. |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 10/Sep/09 ] |
|
closed b/c resolved more than 2 week ago |
| Comment by Eliot Horowitz (Inactive) [ 20/Aug/09 ] |
|
bson objects and json objects are in fact ordered, and the drivers are all cognisant of this. |