{"action":"opened","number":36,"pull_request":{"url":"https://api.github.com/repos/jkk/honeysql/pulls/36","id":27079613,"html_url":"https://github.com/jkk/honeysql/pull/36","diff_url":"https://github.com/jkk/honeysql/pull/36.diff","patch_url":"https://github.com/jkk/honeysql/pull/36.patch","issue_url":"https://api.github.com/repos/jkk/honeysql/issues/36","number":36,"state":"open","locked":false,"title":"Support for `RETURNING` keyword","user":{"login":"erikprice","id":3916,"avatar_url":"https://avatars.githubusercontent.com/u/3916?v=3","gravatar_id":"","url":"https://api.github.com/users/erikprice","html_url":"https://github.com/erikprice","followers_url":"https://api.github.com/users/erikprice/followers","following_url":"https://api.github.com/users/erikprice/following{/other_user}","gists_url":"https://api.github.com/users/erikprice/gists{/gist_id}","starred_url":"https://api.github.com/users/erikprice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikprice/subscriptions","organizations_url":"https://api.github.com/users/erikprice/orgs","repos_url":"https://api.github.com/users/erikprice/repos","events_url":"https://api.github.com/users/erikprice/events{/privacy}","received_events_url":"https://api.github.com/users/erikprice/received_events","type":"User","site_admin":false},"body":"PostgreSQL supports this clause on INSERT statements so as to return things such as generated IDs, etc.","created_at":"2015-01-09T04:28:00Z","updated_at":"2015-01-09T04:28:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jkk/honeysql/pulls/36/commits","review_comments_url":"https://api.github.com/repos/jkk/honeysql/pulls/36/comments","review_comment_url":"https://api.github.com/repos/jkk/honeysql/pulls/comments/{number}","comments_url":"https://api.github.com/repos/jkk/honeysql/issues/36/comments","statuses_url":"https://api.github.com/repos/jkk/honeysql/statuses/403fb33fc4f9bb049f42fba9252825ba73f9b757","head":{"label":"erikprice:returning","ref":"returning","sha":"403fb33fc4f9bb049f42fba9252825ba73f9b757","user":{"login":"erikprice","id":3916,"avatar_url":"https://avatars.githubusercontent.com/u/3916?v=3","gravatar_id":"","url":"https://api.github.com/users/erikprice","html_url":"https://github.com/erikprice","followers_url":"https://api.github.com/users/erikprice/followers","following_url":"https://api.github.com/users/erikprice/following{/other_user}","gists_url":"https://api.github.com/users/erikprice/gists{/gist_id}","starred_url":"https://api.github.com/users/erikprice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikprice/subscriptions","organizations_url":"https://api.github.com/users/erikprice/orgs","repos_url":"https://api.github.com/users/erikprice/repos","events_url":"https://api.github.com/users/erikprice/events{/privacy}","received_events_url":"https://api.github.com/users/erikprice/received_events","type":"User","site_admin":false},"repo":{"id":28930389,"name":"honeysql","full_name":"erikprice/honeysql","owner":{"login":"erikprice","id":3916,"avatar_url":"https://avatars.githubusercontent.com/u/3916?v=3","gravatar_id":"","url":"https://api.github.com/users/erikprice","html_url":"https://github.com/erikprice","followers_url":"https://api.github.com/users/erikprice/followers","following_url":"https://api.github.com/users/erikprice/following{/other_user}","gists_url":"https://api.github.com/users/erikprice/gists{/gist_id}","starred_url":"https://api.github.com/users/erikprice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikprice/subscriptions","organizations_url":"https://api.github.com/users/erikprice/orgs","repos_url":"https://api.github.com/users/erikprice/repos","events_url":"https://api.github.com/users/erikprice/events{/privacy}","received_events_url":"https://api.github.com/users/erikprice/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/erikprice/honeysql","description":"Turn Clojure data structures into SQL","fork":true,"url":"https://api.github.com/repos/erikprice/honeysql","forks_url":"https://api.github.com/repos/erikprice/honeysql/forks","keys_url":"https://api.github.com/repos/erikprice/honeysql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/erikprice/honeysql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/erikprice/honeysql/teams","hooks_url":"https://api.github.com/repos/erikprice/honeysql/hooks","issue_events_url":"https://api.github.com/repos/erikprice/honeysql/issues/events{/number}","events_url":"https://api.github.com/repos/erikprice/honeysql/events","assignees_url":"https://api.github.com/repos/erikprice/honeysql/assignees{/user}","branches_url":"https://api.github.com/repos/erikprice/honeysql/branches{/branch}","tags_url":"https://api.github.com/repos/erikprice/honeysql/tags","blobs_url":"https://api.github.com/repos/erikprice/honeysql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/erikprice/honeysql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/erikprice/honeysql/git/refs{/sha}","trees_url":"https://api.github.com/repos/erikprice/honeysql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/erikprice/honeysql/statuses/{sha}","languages_url":"https://api.github.com/repos/erikprice/honeysql/languages","stargazers_url":"https://api.github.com/repos/erikprice/honeysql/stargazers","contributors_url":"https://api.github.com/repos/erikprice/honeysql/contributors","subscribers_url":"https://api.github.com/repos/erikprice/honeysql/subscribers","subscription_url":"https://api.github.com/repos/erikprice/honeysql/subscription","commits_url":"https://api.github.com/repos/erikprice/honeysql/commits{/sha}","git_commits_url":"https://api.github.com/repos/erikprice/honeysql/git/commits{/sha}","comments_url":"https://api.github.com/repos/erikprice/honeysql/comments{/number}","issue_comment_url":"https://api.github.com/repos/erikprice/honeysql/issues/comments/{number}","contents_url":"https://api.github.com/repos/erikprice/honeysql/contents/{+path}","compare_url":"https://api.github.com/repos/erikprice/honeysql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/erikprice/honeysql/merges","archive_url":"https://api.github.com/repos/erikprice/honeysql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/erikprice/honeysql/downloads","issues_url":"https://api.github.com/repos/erikprice/honeysql/issues{/number}","pulls_url":"https://api.github.com/repos/erikprice/honeysql/pulls{/number}","milestones_url":"https://api.github.com/repos/erikprice/honeysql/milestones{/number}","notifications_url":"https://api.github.com/repos/erikprice/honeysql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/erikprice/honeysql/labels{/name}","releases_url":"https://api.github.com/repos/erikprice/honeysql/releases{/id}","created_at":"2015-01-07T19:36:07Z","updated_at":"2015-01-07T19:36:07Z","pushed_at":"2015-01-09T04:24:24Z","git_url":"git://github.com/erikprice/honeysql.git","ssh_url":"git@github.com:erikprice/honeysql.git","clone_url":"https://github.com/erikprice/honeysql.git","svn_url":"https://github.com/erikprice/honeysql","homepage":"","size":518,"stargazers_count":0,"watchers_count":0,"language":"Clojure","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jkk:master","ref":"master","sha":"0c3f3d0403cccae2738f2e9aadbdf1d89b436f3f","user":{"login":"jkk","id":5173,"avatar_url":"https://avatars.githubusercontent.com/u/5173?v=3","gravatar_id":"","url":"https://api.github.com/users/jkk","html_url":"https://github.com/jkk","followers_url":"https://api.github.com/users/jkk/followers","following_url":"https://api.github.com/users/jkk/following{/other_user}","gists_url":"https://api.github.com/users/jkk/gists{/gist_id}","starred_url":"https://api.github.com/users/jkk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkk/subscriptions","organizations_url":"https://api.github.com/users/jkk/orgs","repos_url":"https://api.github.com/users/jkk/repos","events_url":"https://api.github.com/users/jkk/events{/privacy}","received_events_url":"https://api.github.com/users/jkk/received_events","type":"User","site_admin":false},"repo":{"id":5020045,"name":"honeysql","full_name":"jkk/honeysql","owner":{"login":"jkk","id":5173,"avatar_url":"https://avatars.githubusercontent.com/u/5173?v=3","gravatar_id":"","url":"https://api.github.com/users/jkk","html_url":"https://github.com/jkk","followers_url":"https://api.github.com/users/jkk/followers","following_url":"https://api.github.com/users/jkk/following{/other_user}","gists_url":"https://api.github.com/users/jkk/gists{/gist_id}","starred_url":"https://api.github.com/users/jkk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkk/subscriptions","organizations_url":"https://api.github.com/users/jkk/orgs","repos_url":"https://api.github.com/users/jkk/repos","events_url":"https://api.github.com/users/jkk/events{/privacy}","received_events_url":"https://api.github.com/users/jkk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jkk/honeysql","description":"Turn Clojure data structures into SQL","fork":false,"url":"https://api.github.com/repos/jkk/honeysql","forks_url":"https://api.github.com/repos/jkk/honeysql/forks","keys_url":"https://api.github.com/repos/jkk/honeysql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jkk/honeysql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jkk/honeysql/teams","hooks_url":"https://api.github.com/repos/jkk/honeysql/hooks","issue_events_url":"https://api.github.com/repos/jkk/honeysql/issues/events{/number}","events_url":"https://api.github.com/repos/jkk/honeysql/events","assignees_url":"https://api.github.com/repos/jkk/honeysql/assignees{/user}","branches_url":"https://api.github.com/repos/jkk/honeysql/branches{/branch}","tags_url":"https://api.github.com/repos/jkk/honeysql/tags","blobs_url":"https://api.github.com/repos/jkk/honeysql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jkk/honeysql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jkk/honeysql/git/refs{/sha}","trees_url":"https://api.github.com/repos/jkk/honeysql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jkk/honeysql/statuses/{sha}","languages_url":"https://api.github.com/repos/jkk/honeysql/languages","stargazers_url":"https://api.github.com/repos/jkk/honeysql/stargazers","contributors_url":"https://api.github.com/repos/jkk/honeysql/contributors","subscribers_url":"https://api.github.com/repos/jkk/honeysql/subscribers","subscription_url":"https://api.github.com/repos/jkk/honeysql/subscription","commits_url":"https://api.github.com/repos/jkk/honeysql/commits{/sha}","git_commits_url":"https://api.github.com/repos/jkk/honeysql/git/commits{/sha}","comments_url":"https://api.github.com/repos/jkk/honeysql/comments{/number}","issue_comment_url":"https://api.github.com/repos/jkk/honeysql/issues/comments/{number}","contents_url":"https://api.github.com/repos/jkk/honeysql/contents/{+path}","compare_url":"https://api.github.com/repos/jkk/honeysql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jkk/honeysql/merges","archive_url":"https://api.github.com/repos/jkk/honeysql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jkk/honeysql/downloads","issues_url":"https://api.github.com/repos/jkk/honeysql/issues{/number}","pulls_url":"https://api.github.com/repos/jkk/honeysql/pulls{/number}","milestones_url":"https://api.github.com/repos/jkk/honeysql/milestones{/number}","notifications_url":"https://api.github.com/repos/jkk/honeysql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jkk/honeysql/labels{/name}","releases_url":"https://api.github.com/repos/jkk/honeysql/releases{/id}","created_at":"2012-07-13T13:58:26Z","updated_at":"2015-01-08T10:01:29Z","pushed_at":"2014-10-22T17:01:46Z","git_url":"git://github.com/jkk/honeysql.git","ssh_url":"git@github.com:jkk/honeysql.git","clone_url":"https://github.com/jkk/honeysql.git","svn_url":"https://github.com/jkk/honeysql","homepage":"","size":518,"stargazers_count":227,"watchers_count":227,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":18,"forks":25,"open_issues":18,"watchers":227,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jkk/honeysql/pulls/36"},"html":{"href":"https://github.com/jkk/honeysql/pull/36"},"issue":{"href":"https://api.github.com/repos/jkk/honeysql/issues/36"},"comments":{"href":"https://api.github.com/repos/jkk/honeysql/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/jkk/honeysql/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/jkk/honeysql/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/jkk/honeysql/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/jkk/honeysql/statuses/403fb33fc4f9bb049f42fba9252825ba73f9b757"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":30,"deletions":2,"changed_files":4}}