{"action":"created","issue":{"url":"https://api.github.com/repos/scalikejdbc/scalikejdbc-async/issues/21","labels_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc-async/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc-async/issues/21/comments","events_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc-async/issues/21/events","html_url":"https://github.com/scalikejdbc/scalikejdbc-async/issues/21","id":54060355,"number":21,"title":"updateAndReturnGeneratedKey doesn't work on postgress","user":{"login":"bardam","id":429651,"avatar_url":"https://avatars.githubusercontent.com/u/429651?v=3","gravatar_id":"","url":"https://api.github.com/users/bardam","html_url":"https://github.com/bardam","followers_url":"https://api.github.com/users/bardam/followers","following_url":"https://api.github.com/users/bardam/following{/other_user}","gists_url":"https://api.github.com/users/bardam/gists{/gist_id}","starred_url":"https://api.github.com/users/bardam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bardam/subscriptions","organizations_url":"https://api.github.com/users/bardam/orgs","repos_url":"https://api.github.com/users/bardam/repos","events_url":"https://api.github.com/users/bardam/events{/privacy}","received_events_url":"https://api.github.com/users/bardam/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scalikejdbc/scalikejdbc-async/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"seratch","id":19658,"avatar_url":"https://avatars.githubusercontent.com/u/19658?v=3","gravatar_id":"","url":"https://api.github.com/users/seratch","html_url":"https://github.com/seratch","followers_url":"https://api.github.com/users/seratch/followers","following_url":"https://api.github.com/users/seratch/following{/other_user}","gists_url":"https://api.github.com/users/seratch/gists{/gist_id}","starred_url":"https://api.github.com/users/seratch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seratch/subscriptions","organizations_url":"https://api.github.com/users/seratch/orgs","repos_url":"https://api.github.com/users/seratch/repos","events_url":"https://api.github.com/users/seratch/events{/privacy}","received_events_url":"https://api.github.com/users/seratch/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-01-12T14:39:05Z","updated_at":"2015-01-14T10:39:14Z","closed_at":null,"body":"updateAndReturnGeneratedKey doesn't work on postgress when using sql interpolation.\r\nIt doesn't have the option to add returningId (like you do when using SQLSyntaxSupport).\r\nHad to add it manually to the statement"},"comment":{"url":"https://api.github.com/repos/scalikejdbc/scalikejdbc-async/issues/comments/69898024","html_url":"https://github.com/scalikejdbc/scalikejdbc-async/issues/21#issuecomment-69898024","issue_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc-async/issues/21","id":69898024,"user":{"login":"bardam","id":429651,"avatar_url":"https://avatars.githubusercontent.com/u/429651?v=3","gravatar_id":"","url":"https://api.github.com/users/bardam","html_url":"https://github.com/bardam","followers_url":"https://api.github.com/users/bardam/followers","following_url":"https://api.github.com/users/bardam/following{/other_user}","gists_url":"https://api.github.com/users/bardam/gists{/gist_id}","starred_url":"https://api.github.com/users/bardam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bardam/subscriptions","organizations_url":"https://api.github.com/users/bardam/orgs","repos_url":"https://api.github.com/users/bardam/repos","events_url":"https://api.github.com/users/bardam/events{/privacy}","received_events_url":"https://api.github.com/users/bardam/received_events","type":"User","site_admin":false},"created_at":"2015-01-14T10:39:14Z","updated_at":"2015-01-14T10:39:14Z","body":"see my firs comment.\r\nIts what i did,\r\nStill it would be nicer to be explicit about it in the code (and less error\r\nprone) rather then a free String\r\n\r\nOn Wed, Jan 14, 2015 at 11:07 AM, Kazuhiro Sera <notifications@github.com>\r\nwrote:\r\n\r\n> That is so simple thing. Please write \"returning id\" inside your sqls\"...\".\r\n>\r\n>\r\n> https://github.com/scalikejdbc/scalikejdbc/blob/2.2.1/scalikejdbc-interpolation/src/main/scala/scalikejdbc/QueryDSLFeature.scala#L515\r\n>\r\n> —\r\n> Reply to this email directly or view it on GitHub\r\n> <https://github.com/scalikejdbc/scalikejdbc-async/issues/21#issuecomment-69887693>\r\n> .\r\n>"}}