{"action":"created","issue":{"url":"https://api.github.com/repos/strongloop/loopback/issues/521","repository_url":"https://api.github.com/repos/strongloop/loopback","labels_url":"https://api.github.com/repos/strongloop/loopback/issues/521/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/loopback/issues/521/comments","events_url":"https://api.github.com/repos/strongloop/loopback/issues/521/events","html_url":"https://github.com/strongloop/loopback/issues/521","id":41584502,"number":521,"title":"Where is native DB query","user":{"login":"johnsoftek","id":5147329,"avatar_url":"https://avatars.githubusercontent.com/u/5147329?v=3","gravatar_id":"","url":"https://api.github.com/users/johnsoftek","html_url":"https://github.com/johnsoftek","followers_url":"https://api.github.com/users/johnsoftek/followers","following_url":"https://api.github.com/users/johnsoftek/following{/other_user}","gists_url":"https://api.github.com/users/johnsoftek/gists{/gist_id}","starred_url":"https://api.github.com/users/johnsoftek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnsoftek/subscriptions","organizations_url":"https://api.github.com/users/johnsoftek/orgs","repos_url":"https://api.github.com/users/johnsoftek/repos","events_url":"https://api.github.com/users/johnsoftek/events{/privacy}","received_events_url":"https://api.github.com/users/johnsoftek/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2014-08-31T11:46:24Z","updated_at":"2016-06-29T10:47:24Z","closed_at":"2014-08-31T11:47:54Z","body":"In Hacker News, https://news.ycombinator.com/item?id=7796196, it was said of Loopback:\r\n\r\n>We allow you to execute native query using dataSource.connector.query(query, params, cb). We're considering to promote it to dataSource level and fully document it.\r\n\r\nIs this feature available? Example?"},"comment":{"url":"https://api.github.com/repos/strongloop/loopback/issues/comments/229322327","html_url":"https://github.com/strongloop/loopback/issues/521#issuecomment-229322327","issue_url":"https://api.github.com/repos/strongloop/loopback/issues/521","id":229322327,"user":{"login":"biliboss","id":1461583,"avatar_url":"https://avatars.githubusercontent.com/u/1461583?v=3","gravatar_id":"","url":"https://api.github.com/users/biliboss","html_url":"https://github.com/biliboss","followers_url":"https://api.github.com/users/biliboss/followers","following_url":"https://api.github.com/users/biliboss/following{/other_user}","gists_url":"https://api.github.com/users/biliboss/gists{/gist_id}","starred_url":"https://api.github.com/users/biliboss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biliboss/subscriptions","organizations_url":"https://api.github.com/users/biliboss/orgs","repos_url":"https://api.github.com/users/biliboss/repos","events_url":"https://api.github.com/users/biliboss/events{/privacy}","received_events_url":"https://api.github.com/users/biliboss/received_events","type":"User","site_admin":false},"created_at":"2016-06-29T10:47:24Z","updated_at":"2016-06-29T10:47:24Z","body":"@likun7981 you can try\r\n`dataSource.connector.query(sql, params, cb);`"}}
{"actor":{"display_login":"biliboss"}}