{"action":"created","issue":{"url":"https://api.github.com/repos/tgriesser/bookshelf/issues/782","labels_url":"https://api.github.com/repos/tgriesser/bookshelf/issues/782/labels{/name}","comments_url":"https://api.github.com/repos/tgriesser/bookshelf/issues/782/comments","events_url":"https://api.github.com/repos/tgriesser/bookshelf/issues/782/events","html_url":"https://github.com/tgriesser/bookshelf/issues/782","id":87072762,"number":782,"title":"access to knex in query builder","user":{"login":"tkellen","id":1004324,"avatar_url":"https://avatars.githubusercontent.com/u/1004324?v=3","gravatar_id":"","url":"https://api.github.com/users/tkellen","html_url":"https://github.com/tkellen","followers_url":"https://api.github.com/users/tkellen/followers","following_url":"https://api.github.com/users/tkellen/following{/other_user}","gists_url":"https://api.github.com/users/tkellen/gists{/gist_id}","starred_url":"https://api.github.com/users/tkellen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkellen/subscriptions","organizations_url":"https://api.github.com/users/tkellen/orgs","repos_url":"https://api.github.com/users/tkellen/repos","events_url":"https://api.github.com/users/tkellen/events{/privacy}","received_events_url":"https://api.github.com/users/tkellen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-10T19:06:41Z","updated_at":"2015-06-10T21:49:54Z","closed_at":null,"body":"It would be great if it was possible to do this:\r\n```js\r\nModel.query(function (qb) {\r\n  qb.join(\r\n    qb.knex('table')....\r\n  )\r\n})\r\n```"},"comment":{"url":"https://api.github.com/repos/tgriesser/bookshelf/issues/comments/110925414","html_url":"https://github.com/tgriesser/bookshelf/issues/782#issuecomment-110925414","issue_url":"https://api.github.com/repos/tgriesser/bookshelf/issues/782","id":110925414,"user":{"login":"ashleygwilliams","id":1163554,"avatar_url":"https://avatars.githubusercontent.com/u/1163554?v=3","gravatar_id":"","url":"https://api.github.com/users/ashleygwilliams","html_url":"https://github.com/ashleygwilliams","followers_url":"https://api.github.com/users/ashleygwilliams/followers","following_url":"https://api.github.com/users/ashleygwilliams/following{/other_user}","gists_url":"https://api.github.com/users/ashleygwilliams/gists{/gist_id}","starred_url":"https://api.github.com/users/ashleygwilliams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashleygwilliams/subscriptions","organizations_url":"https://api.github.com/users/ashleygwilliams/orgs","repos_url":"https://api.github.com/users/ashleygwilliams/repos","events_url":"https://api.github.com/users/ashleygwilliams/events{/privacy}","received_events_url":"https://api.github.com/users/ashleygwilliams/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T21:49:54Z","updated_at":"2015-06-10T21:49:54Z","body":":+1: "}}