{"action":"opened","issue":{"url":"https://api.github.com/repos/checkiz/elixir-mongo/issues/30","labels_url":"https://api.github.com/repos/checkiz/elixir-mongo/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/checkiz/elixir-mongo/issues/30/comments","events_url":"https://api.github.com/repos/checkiz/elixir-mongo/issues/30/events","html_url":"https://github.com/checkiz/elixir-mongo/issues/30","id":117731563,"number":30,"title":"Please add useful documentation","user":{"login":"tastywheat","id":2312161,"avatar_url":"https://avatars.githubusercontent.com/u/2312161?v=3","gravatar_id":"","url":"https://api.github.com/users/tastywheat","html_url":"https://github.com/tastywheat","followers_url":"https://api.github.com/users/tastywheat/followers","following_url":"https://api.github.com/users/tastywheat/following{/other_user}","gists_url":"https://api.github.com/users/tastywheat/gists{/gist_id}","starred_url":"https://api.github.com/users/tastywheat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tastywheat/subscriptions","organizations_url":"https://api.github.com/users/tastywheat/orgs","repos_url":"https://api.github.com/users/tastywheat/repos","events_url":"https://api.github.com/users/tastywheat/events{/privacy}","received_events_url":"https://api.github.com/users/tastywheat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-19T03:10:49Z","updated_at":"2015-11-19T03:10:49Z","closed_at":null,"body":"I can't seem to find any documentation which explains how to decode a list of `find` results. So far I have a list of `Mongo.Response`, but I have no idea where to go from here:\r\n\r\n```\r\n# Connect the mongo server (by default port 27017 at 127.0.0.1)\r\n        mongo = Mongo.connect!\r\n        # Select the db to access\r\n        db = mongo |> Mongo.db(\"test\")\r\n        # Select the db to access\r\n        articles = db |> Mongo.Db.collection(\"articles\")\r\n\r\n        articles\r\n            |> Mongo.Collection.find\r\n            # |> Map.put(:batchSize, 4)\r\n            |> Mongo.Find.exec\r\n            |> Enum.to_list\r\n            |> Enum.map fn doc -> Mongo.Response.bson_decode(doc.buffer) end\r\n            |> IO.inspect\r\n```\r\n\r\n"}}