{"action":"opened","issue":{"url":"https://api.github.com/repos/felixge/node-mysql/issues/1194","labels_url":"https://api.github.com/repos/felixge/node-mysql/issues/1194/labels{/name}","comments_url":"https://api.github.com/repos/felixge/node-mysql/issues/1194/comments","events_url":"https://api.github.com/repos/felixge/node-mysql/issues/1194/events","html_url":"https://github.com/felixge/node-mysql/issues/1194","id":102892264,"number":1194,"title":"Return an instance of a function","user":{"login":"Petah","id":134799,"avatar_url":"https://avatars.githubusercontent.com/u/134799?v=3","gravatar_id":"","url":"https://api.github.com/users/Petah","html_url":"https://github.com/Petah","followers_url":"https://api.github.com/users/Petah/followers","following_url":"https://api.github.com/users/Petah/following{/other_user}","gists_url":"https://api.github.com/users/Petah/gists{/gist_id}","starred_url":"https://api.github.com/users/Petah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Petah/subscriptions","organizations_url":"https://api.github.com/users/Petah/orgs","repos_url":"https://api.github.com/users/Petah/repos","events_url":"https://api.github.com/users/Petah/events{/privacy}","received_events_url":"https://api.github.com/users/Petah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-24T21:10:13Z","updated_at":"2015-08-24T21:10:13Z","closed_at":null,"body":"If I have a function \r\n\r\n```\r\nfunction Foo() {\r\n    this.bar = null;\r\n}\r\n```\r\n\r\nand a query:\r\n\r\n```\r\nSELECT bar FROM foos;\r\n```\r\n\r\ncan I have results returned as instances of `Foo`?"}}