-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: 2.0.3
-
Component/s: Networking, Shell
-
None
-
Environment:Mac OS X 10.7
emongo https://github.com/master/emongo/commit/d858fa1757b47c919f88b7d96057bad0075ed731
-
ALL
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
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">>,
{oid,<<80,156,252,176,8,197,245,106,230,82,14,180>>}},
,
,
]]
Now I go to console:
mongo database
> > db.t.find()
I see here two problems:
1) I can store document with many instances of key and search is done only via first instance of key
2) mongo console doesn't understand it and looses other values for this key