{"action":"opened","issue":{"url":"https://api.github.com/repos/tgriesser/knex/issues/1244","repository_url":"https://api.github.com/repos/tgriesser/knex","labels_url":"https://api.github.com/repos/tgriesser/knex/issues/1244/labels{/name}","comments_url":"https://api.github.com/repos/tgriesser/knex/issues/1244/comments","events_url":"https://api.github.com/repos/tgriesser/knex/issues/1244/events","html_url":"https://github.com/tgriesser/knex/issues/1244","id":138404590,"number":1244,"title":"How to do casting?","user":{"login":"zettam","id":2744905,"avatar_url":"https://avatars.githubusercontent.com/u/2744905?v=3","gravatar_id":"","url":"https://api.github.com/users/zettam","html_url":"https://github.com/zettam","followers_url":"https://api.github.com/users/zettam/followers","following_url":"https://api.github.com/users/zettam/following{/other_user}","gists_url":"https://api.github.com/users/zettam/gists{/gist_id}","starred_url":"https://api.github.com/users/zettam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zettam/subscriptions","organizations_url":"https://api.github.com/users/zettam/orgs","repos_url":"https://api.github.com/users/zettam/repos","events_url":"https://api.github.com/users/zettam/events{/privacy}","received_events_url":"https://api.github.com/users/zettam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-04T07:36:41Z","updated_at":"2016-03-04T07:36:41Z","closed_at":null,"body":"`select count(*)::integer from mytable`\r\nHow to do this properly with knexjs?"}}