{"action":"opened","issue":{"url":"https://api.github.com/repos/comtihon/mongodb-erlang/issues/145","repository_url":"https://api.github.com/repos/comtihon/mongodb-erlang","labels_url":"https://api.github.com/repos/comtihon/mongodb-erlang/issues/145/labels{/name}","comments_url":"https://api.github.com/repos/comtihon/mongodb-erlang/issues/145/comments","events_url":"https://api.github.com/repos/comtihon/mongodb-erlang/issues/145/events","html_url":"https://github.com/comtihon/mongodb-erlang/issues/145","id":193676420,"number":145,"title":"record not inserted into db but can be found via mc_cursor:take()?????","user":{"login":"jianjyan","id":9912473,"avatar_url":"https://avatars.githubusercontent.com/u/9912473?v=3","gravatar_id":"","url":"https://api.github.com/users/jianjyan","html_url":"https://github.com/jianjyan","followers_url":"https://api.github.com/users/jianjyan/followers","following_url":"https://api.github.com/users/jianjyan/following{/other_user}","gists_url":"https://api.github.com/users/jianjyan/gists{/gist_id}","starred_url":"https://api.github.com/users/jianjyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jianjyan/subscriptions","organizations_url":"https://api.github.com/users/jianjyan/orgs","repos_url":"https://api.github.com/users/jianjyan/repos","events_url":"https://api.github.com/users/jianjyan/events{/privacy}","received_events_url":"https://api.github.com/users/jianjyan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-06T03:49:04Z","updated_at":"2016-12-06T03:49:04Z","closed_at":null,"body":"Records found:\r\n\r\nCollection = <<\"msg_20161202\">>.\r\nCursor = mongo_api:find(Topo,Collection,{},{},[]).\r\n<0.82.0>\r\n13> mc_cursor:take(Cursor,100).\r\n[#{<<\"_id\">> => {<<88,70,48,218,193,175,27,78,199,0,0,1>>},\r\n   <<\"home\">> => #{<<\"city\">> => <<\"New York\">>,<<\"state\">> => <<\"NY\">>},\r\n   <<\"league\">> => <<\"National\">>,\r\n   <<\"name\">> => <<\"101\">>},\r\n #{<<\"_id\">> => {<<88,70,48,218,193,175,27,78,199,0,0,2>>},\r\n   <<\"home\">> => #{<<\"city\">> => <<\"Philadelphia\">>,<<\"state\">> => <<\"PA\">>},\r\n   <<\"league\">> => <<\"National\">>,\r\n   <<\"name\">> => <<\"1012\">>},\r\n #{<<\"_id\">> => {<<88,70,48,218,193,175,27,78,199,0,0,3>>},\r\n   <<\"home\">> => #{<<\"city\">> => <<\"Boston\">>,<<\"state\">> => <<\"MA\">>},\r\n   <<\"league\">> => <<\"American\">>,\r\n   <<\"name\">> => <<\"103\">>},\r\n #{<<\"_id\">> => {<<88,70,49,147,193,175,27,78,199,0,0,4>>},\r\n   <<\"home\">> => #{<<\"city\">> => <<\"New York\">>,<<\"state\">> => <<\"NY\">>},\r\n   <<\"league\">> => <<\"National\">>,\r\n   <<\"name\">> => <<\"101\">>},\r\n #{<<\"_id\">> => {<<88,70,49,147,193,175,27,78,199,0,0,5>>},\r\n   <<\"home\">> => #{<<\"city\">> => <<\"Philadelphia\">>,<<\"state\">> => <<\"PA\">>},\r\n   <<\"league\">> => <<\"National\">>,\r\n   <<\"name\">> => <<\"1012\">>},\r\n #{<<\"_id\">> => {<<88,70,49,147,193,175,27,78,199,0,0,6>>},\r\n   <<\"home\">> => #{<<\"city\">> => <<\"Boston\">>,<<\"state\">> => <<\"MA\">>},\r\n   <<\"league\">> => <<\"American\">>,\r\n   <<\"name\">> => <<\"103\">>}]\r\n14> \r\n\r\nBut can't find it via mongodb shell:\r\n\r\n> show collections\r\n20161201\r\nc1_max_1\r\ncollect1\r\nhq1\r\nhq2\r\nmessage0\r\nmsg_20161204\r\nmsg_20161205\r\nmyCollection\r\nsystem.users\r\ntesttest\r\ntutorialspoint\r\n> "}}
{"actor":{"display_login":"jianjyan"}}