[SERVER-7601] Can create document with multiple instances of one key and console doesn't understand it Created: 09/Nov/12 Updated: 15/Feb/13 Resolved: 13/Nov/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Networking, Shell |
| Affects Version/s: | 2.0.3 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Max Lapshin | Assignee: | hari.khalsa@10gen.com |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Mac OS X 10.7 |
||
| Operating System: | ALL |
| Participants: |
| Description |
|
I create document via emongo driver: emongo:insert(database, "my_collection", [ {x,4}, {x,1}, {x,3}]). Now I select it: emongo:find_all(database, "my_collection"). [[{<<"_id">>, , , ]] Now I go to console: mongo database I see here two problems: |
| Comments |
| Comment by hari.khalsa@10gen.com [ 13/Nov/12 ] |
|
Hi! Please see this link: Summary: having several instances of one key is not dealt with gracefully by everybody and is best avoided. |
| Comment by Max Lapshin [ 13/Nov/12 ] |
|
Can I help somehow? |