{"action":"created","issue":{"url":"https://api.github.com/repos/slick/slick/issues/963","repository_url":"https://api.github.com/repos/slick/slick","labels_url":"https://api.github.com/repos/slick/slick/issues/963/labels{/name}","comments_url":"https://api.github.com/repos/slick/slick/issues/963/comments","events_url":"https://api.github.com/repos/slick/slick/issues/963/events","html_url":"https://github.com/slick/slick/issues/963","id":40204407,"number":963,"title":"update ... returning","user":{"login":"adamhooper","id":10812,"avatar_url":"https://avatars.githubusercontent.com/u/10812?v=3","gravatar_id":"","url":"https://api.github.com/users/adamhooper","html_url":"https://github.com/adamhooper","followers_url":"https://api.github.com/users/adamhooper/followers","following_url":"https://api.github.com/users/adamhooper/following{/other_user}","gists_url":"https://api.github.com/users/adamhooper/gists{/gist_id}","starred_url":"https://api.github.com/users/adamhooper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamhooper/subscriptions","organizations_url":"https://api.github.com/users/adamhooper/orgs","repos_url":"https://api.github.com/users/adamhooper/repos","events_url":"https://api.github.com/users/adamhooper/events{/privacy}","received_events_url":"https://api.github.com/users/adamhooper/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/slick/slick/labels/1%20-%20Ready","name":"1 - Ready","color":"c7def8"},{"url":"https://api.github.com/repos/slick/slick/labels/improvement","name":"improvement","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"radsaggi","id":3859208,"avatar_url":"https://avatars.githubusercontent.com/u/3859208?v=3","gravatar_id":"","url":"https://api.github.com/users/radsaggi","html_url":"https://github.com/radsaggi","followers_url":"https://api.github.com/users/radsaggi/followers","following_url":"https://api.github.com/users/radsaggi/following{/other_user}","gists_url":"https://api.github.com/users/radsaggi/gists{/gist_id}","starred_url":"https://api.github.com/users/radsaggi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radsaggi/subscriptions","organizations_url":"https://api.github.com/users/radsaggi/orgs","repos_url":"https://api.github.com/users/radsaggi/repos","events_url":"https://api.github.com/users/radsaggi/events{/privacy}","received_events_url":"https://api.github.com/users/radsaggi/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/slick/slick/milestones/3","html_url":"https://github.com/slick/slick/milestones/Future","labels_url":"https://api.github.com/repos/slick/slick/milestones/3/labels","id":491176,"number":3,"title":"Future","description":"","creator":{"login":"szeiger","id":54262,"avatar_url":"https://avatars.githubusercontent.com/u/54262?v=3","gravatar_id":"","url":"https://api.github.com/users/szeiger","html_url":"https://github.com/szeiger","followers_url":"https://api.github.com/users/szeiger/followers","following_url":"https://api.github.com/users/szeiger/following{/other_user}","gists_url":"https://api.github.com/users/szeiger/gists{/gist_id}","starred_url":"https://api.github.com/users/szeiger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szeiger/subscriptions","organizations_url":"https://api.github.com/users/szeiger/orgs","repos_url":"https://api.github.com/users/szeiger/repos","events_url":"https://api.github.com/users/szeiger/events{/privacy}","received_events_url":"https://api.github.com/users/szeiger/received_events","type":"User","site_admin":false},"open_issues":146,"closed_issues":9,"state":"open","created_at":"2013-11-20T15:18:57Z","updated_at":"2016-06-08T19:07:19Z","due_on":null,"closed_at":null},"comments":14,"created_at":"2014-08-13T22:05:26Z","updated_at":"2016-06-09T20:46:04Z","closed_at":null,"body":"There's an `insertInvoker ... returning` that translates to SQL `INSERT INTO ... RETURNING`.\r\n\r\nThere ought to be an `updateInvoker ... returning` that translates to SQL `UPDATE ... RETURNING`.\r\n\r\nI'm using Postgres as my backend. http://www.postgresql.org/docs/9.3/static/sql-update.html\r\n\r\nThe workaround is to run an `UPDATE` and then, if the return value is non-zero, run a `SELECT`. But that causes an extra round trip and it creates a race unless I use a transaction."},"comment":{"url":"https://api.github.com/repos/slick/slick/issues/comments/225021028","html_url":"https://github.com/slick/slick/issues/963#issuecomment-225021028","issue_url":"https://api.github.com/repos/slick/slick/issues/963","id":225021028,"user":{"login":"norcalli","id":296363,"avatar_url":"https://avatars.githubusercontent.com/u/296363?v=3","gravatar_id":"","url":"https://api.github.com/users/norcalli","html_url":"https://github.com/norcalli","followers_url":"https://api.github.com/users/norcalli/followers","following_url":"https://api.github.com/users/norcalli/following{/other_user}","gists_url":"https://api.github.com/users/norcalli/gists{/gist_id}","starred_url":"https://api.github.com/users/norcalli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/norcalli/subscriptions","organizations_url":"https://api.github.com/users/norcalli/orgs","repos_url":"https://api.github.com/users/norcalli/repos","events_url":"https://api.github.com/users/norcalli/events{/privacy}","received_events_url":"https://api.github.com/users/norcalli/received_events","type":"User","site_admin":false},"created_at":"2016-06-09T20:46:04Z","updated_at":"2016-06-09T20:46:04Z","body":"Why hasn't this been implemented?"}}
{"actor":{"display_login":"norcalli"}}