{"action":"closed","issue":{"url":"https://api.github.com/repos/tgriesser/bookshelf/issues/1160","repository_url":"https://api.github.com/repos/tgriesser/bookshelf","labels_url":"https://api.github.com/repos/tgriesser/bookshelf/issues/1160/labels{/name}","comments_url":"https://api.github.com/repos/tgriesser/bookshelf/issues/1160/comments","events_url":"https://api.github.com/repos/tgriesser/bookshelf/issues/1160/events","html_url":"https://github.com/tgriesser/bookshelf/issues/1160","id":140819563,"number":1160,"title":"Printing resulting SQL?","user":{"login":"Surreal9","id":4522149,"avatar_url":"https://avatars.githubusercontent.com/u/4522149?v=3","gravatar_id":"","url":"https://api.github.com/users/Surreal9","html_url":"https://github.com/Surreal9","followers_url":"https://api.github.com/users/Surreal9/followers","following_url":"https://api.github.com/users/Surreal9/following{/other_user}","gists_url":"https://api.github.com/users/Surreal9/gists{/gist_id}","starred_url":"https://api.github.com/users/Surreal9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Surreal9/subscriptions","organizations_url":"https://api.github.com/users/Surreal9/orgs","repos_url":"https://api.github.com/users/Surreal9/repos","events_url":"https://api.github.com/users/Surreal9/events{/privacy}","received_events_url":"https://api.github.com/users/Surreal9/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tgriesser/bookshelf/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-14T22:54:24Z","updated_at":"2016-03-14T23:34:51Z","closed_at":"2016-03-14T23:34:51Z","body":"How do you output the SQL after a chain of functions, ie perhaps after .fetchAll() ?"}}