{"action":"closed","issue":{"url":"https://api.github.com/repos/will123195/oreo/issues/22","repository_url":"https://api.github.com/repos/will123195/oreo","labels_url":"https://api.github.com/repos/will123195/oreo/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/will123195/oreo/issues/22/comments","events_url":"https://api.github.com/repos/will123195/oreo/issues/22/events","html_url":"https://github.com/will123195/oreo/issues/22","id":45694894,"number":22,"title":"add hydrate option to find()","user":{"login":"will123195","id":242760,"avatar_url":"https://avatars.githubusercontent.com/u/242760?v=3","gravatar_id":"","url":"https://api.github.com/users/will123195","html_url":"https://github.com/will123195","followers_url":"https://api.github.com/users/will123195/followers","following_url":"https://api.github.com/users/will123195/following{/other_user}","gists_url":"https://api.github.com/users/will123195/gists{/gist_id}","starred_url":"https://api.github.com/users/will123195/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/will123195/subscriptions","organizations_url":"https://api.github.com/users/will123195/orgs","repos_url":"https://api.github.com/users/will123195/repos","events_url":"https://api.github.com/users/will123195/events{/privacy}","received_events_url":"https://api.github.com/users/will123195/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/will123195/oreo/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/will123195/oreo/milestones/2","html_url":"https://github.com/will123195/oreo/milestones/find()","labels_url":"https://api.github.com/repos/will123195/oreo/milestones/2/labels","id":1324185,"number":2,"title":"find()","description":null,"creator":{"login":"will123195","id":242760,"avatar_url":"https://avatars.githubusercontent.com/u/242760?v=3","gravatar_id":"","url":"https://api.github.com/users/will123195","html_url":"https://github.com/will123195","followers_url":"https://api.github.com/users/will123195/followers","following_url":"https://api.github.com/users/will123195/following{/other_user}","gists_url":"https://api.github.com/users/will123195/gists{/gist_id}","starred_url":"https://api.github.com/users/will123195/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/will123195/subscriptions","organizations_url":"https://api.github.com/users/will123195/orgs","repos_url":"https://api.github.com/users/will123195/repos","events_url":"https://api.github.com/users/will123195/events{/privacy}","received_events_url":"https://api.github.com/users/will123195/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":3,"state":"open","created_at":"2015-09-25T16:50:05Z","updated_at":"2016-03-10T23:53:07Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2014-10-13T22:55:36Z","updated_at":"2016-03-10T23:53:07Z","closed_at":"2016-03-10T23:53:07Z","body":"- [x] hydrate multiple\r\n- [x] find hydrate option\r\n- [x] findOne hydrate option\r\n- [x] get hydrate option\r\n\r\n```js\r\n  db.mytable.find({\r\n    where: 'account_id = 1',\r\n    hydrate: ['widget']\r\n  }, function(err, rs) {\r\n    // rs[0].widget\r\n  })\r\n```\r\n\r\ninstead of:\r\n```js\r\n  db.mytable.find({\r\n    where: 'account_id = 1'\r\n  }, function(err, rs) {\r\n    async.each(rs, function(r, next) {\r\n      r.hydrate('widget', next)\r\n    }, function(err) {\r\n      // rs[0].widget\r\n    })\r\n  })\r\n```"}}