{"action":"opened","number":18,"pull_request":{"url":"https://api.github.com/repos/upper/bond/pulls/18","id":62984621,"html_url":"https://github.com/upper/bond/pull/18","diff_url":"https://github.com/upper/bond/pull/18.diff","patch_url":"https://github.com/upper/bond/pull/18.patch","issue_url":"https://api.github.com/repos/upper/bond/issues/18","number":18,"state":"open","locked":false,"title":"Separates Insert and Update","user":{"login":"c2h5oh","id":446070,"avatar_url":"https://avatars.githubusercontent.com/u/446070?v=3","gravatar_id":"","url":"https://api.github.com/users/c2h5oh","html_url":"https://github.com/c2h5oh","followers_url":"https://api.github.com/users/c2h5oh/followers","following_url":"https://api.github.com/users/c2h5oh/following{/other_user}","gists_url":"https://api.github.com/users/c2h5oh/gists{/gist_id}","starred_url":"https://api.github.com/users/c2h5oh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c2h5oh/subscriptions","organizations_url":"https://api.github.com/users/c2h5oh/orgs","repos_url":"https://api.github.com/users/c2h5oh/repos","events_url":"https://api.github.com/users/c2h5oh/events{/privacy}","received_events_url":"https://api.github.com/users/c2h5oh/received_events","type":"User","site_admin":false},"body":"Optionally select if you want to update or insert. Useful when you want to insert specific values for PK field","created_at":"2016-03-15T22:03:43Z","updated_at":"2016-03-15T22:03:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/upper/bond/pulls/18/commits","review_comments_url":"https://api.github.com/repos/upper/bond/pulls/18/comments","review_comment_url":"https://api.github.com/repos/upper/bond/pulls/comments{/number}","comments_url":"https://api.github.com/repos/upper/bond/issues/18/comments","statuses_url":"https://api.github.com/repos/upper/bond/statuses/e69cdd66279067f04f8248774a7b5e1402eeb568","head":{"label":"c2h5oh:insert-update","ref":"insert-update","sha":"e69cdd66279067f04f8248774a7b5e1402eeb568","user":{"login":"c2h5oh","id":446070,"avatar_url":"https://avatars.githubusercontent.com/u/446070?v=3","gravatar_id":"","url":"https://api.github.com/users/c2h5oh","html_url":"https://github.com/c2h5oh","followers_url":"https://api.github.com/users/c2h5oh/followers","following_url":"https://api.github.com/users/c2h5oh/following{/other_user}","gists_url":"https://api.github.com/users/c2h5oh/gists{/gist_id}","starred_url":"https://api.github.com/users/c2h5oh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c2h5oh/subscriptions","organizations_url":"https://api.github.com/users/c2h5oh/orgs","repos_url":"https://api.github.com/users/c2h5oh/repos","events_url":"https://api.github.com/users/c2h5oh/events{/privacy}","received_events_url":"https://api.github.com/users/c2h5oh/received_events","type":"User","site_admin":false},"repo":{"id":51520016,"name":"bond","full_name":"c2h5oh/bond","owner":{"login":"c2h5oh","id":446070,"avatar_url":"https://avatars.githubusercontent.com/u/446070?v=3","gravatar_id":"","url":"https://api.github.com/users/c2h5oh","html_url":"https://github.com/c2h5oh","followers_url":"https://api.github.com/users/c2h5oh/followers","following_url":"https://api.github.com/users/c2h5oh/following{/other_user}","gists_url":"https://api.github.com/users/c2h5oh/gists{/gist_id}","starred_url":"https://api.github.com/users/c2h5oh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c2h5oh/subscriptions","organizations_url":"https://api.github.com/users/c2h5oh/orgs","repos_url":"https://api.github.com/users/c2h5oh/repos","events_url":"https://api.github.com/users/c2h5oh/events{/privacy}","received_events_url":"https://api.github.com/users/c2h5oh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/c2h5oh/bond","description":"Simple database model layer for upper.io/db","fork":true,"url":"https://api.github.com/repos/c2h5oh/bond","forks_url":"https://api.github.com/repos/c2h5oh/bond/forks","keys_url":"https://api.github.com/repos/c2h5oh/bond/keys{/key_id}","collaborators_url":"https://api.github.com/repos/c2h5oh/bond/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/c2h5oh/bond/teams","hooks_url":"https://api.github.com/repos/c2h5oh/bond/hooks","issue_events_url":"https://api.github.com/repos/c2h5oh/bond/issues/events{/number}","events_url":"https://api.github.com/repos/c2h5oh/bond/events","assignees_url":"https://api.github.com/repos/c2h5oh/bond/assignees{/user}","branches_url":"https://api.github.com/repos/c2h5oh/bond/branches{/branch}","tags_url":"https://api.github.com/repos/c2h5oh/bond/tags","blobs_url":"https://api.github.com/repos/c2h5oh/bond/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/c2h5oh/bond/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/c2h5oh/bond/git/refs{/sha}","trees_url":"https://api.github.com/repos/c2h5oh/bond/git/trees{/sha}","statuses_url":"https://api.github.com/repos/c2h5oh/bond/statuses/{sha}","languages_url":"https://api.github.com/repos/c2h5oh/bond/languages","stargazers_url":"https://api.github.com/repos/c2h5oh/bond/stargazers","contributors_url":"https://api.github.com/repos/c2h5oh/bond/contributors","subscribers_url":"https://api.github.com/repos/c2h5oh/bond/subscribers","subscription_url":"https://api.github.com/repos/c2h5oh/bond/subscription","commits_url":"https://api.github.com/repos/c2h5oh/bond/commits{/sha}","git_commits_url":"https://api.github.com/repos/c2h5oh/bond/git/commits{/sha}","comments_url":"https://api.github.com/repos/c2h5oh/bond/comments{/number}","issue_comment_url":"https://api.github.com/repos/c2h5oh/bond/issues/comments{/number}","contents_url":"https://api.github.com/repos/c2h5oh/bond/contents/{+path}","compare_url":"https://api.github.com/repos/c2h5oh/bond/compare/{base}...{head}","merges_url":"https://api.github.com/repos/c2h5oh/bond/merges","archive_url":"https://api.github.com/repos/c2h5oh/bond/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/c2h5oh/bond/downloads","issues_url":"https://api.github.com/repos/c2h5oh/bond/issues{/number}","pulls_url":"https://api.github.com/repos/c2h5oh/bond/pulls{/number}","milestones_url":"https://api.github.com/repos/c2h5oh/bond/milestones{/number}","notifications_url":"https://api.github.com/repos/c2h5oh/bond/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/c2h5oh/bond/labels{/name}","releases_url":"https://api.github.com/repos/c2h5oh/bond/releases{/id}","deployments_url":"https://api.github.com/repos/c2h5oh/bond/deployments","created_at":"2016-02-11T14:30:34Z","updated_at":"2016-02-11T14:30:34Z","pushed_at":"2016-03-15T22:02:41Z","git_url":"git://github.com/c2h5oh/bond.git","ssh_url":"git@github.com:c2h5oh/bond.git","clone_url":"https://github.com/c2h5oh/bond.git","svn_url":"https://github.com/c2h5oh/bond","homepage":"","size":21,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"upper:master","ref":"master","sha":"7c5935a4efa9e4c0b11be6c7bb7b287ead2ef96c","user":{"login":"upper","id":5751296,"avatar_url":"https://avatars.githubusercontent.com/u/5751296?v=3","gravatar_id":"","url":"https://api.github.com/users/upper","html_url":"https://github.com/upper","followers_url":"https://api.github.com/users/upper/followers","following_url":"https://api.github.com/users/upper/following{/other_user}","gists_url":"https://api.github.com/users/upper/gists{/gist_id}","starred_url":"https://api.github.com/users/upper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/upper/subscriptions","organizations_url":"https://api.github.com/users/upper/orgs","repos_url":"https://api.github.com/users/upper/repos","events_url":"https://api.github.com/users/upper/events{/privacy}","received_events_url":"https://api.github.com/users/upper/received_events","type":"Organization","site_admin":false},"repo":{"id":36471864,"name":"bond","full_name":"upper/bond","owner":{"login":"upper","id":5751296,"avatar_url":"https://avatars.githubusercontent.com/u/5751296?v=3","gravatar_id":"","url":"https://api.github.com/users/upper","html_url":"https://github.com/upper","followers_url":"https://api.github.com/users/upper/followers","following_url":"https://api.github.com/users/upper/following{/other_user}","gists_url":"https://api.github.com/users/upper/gists{/gist_id}","starred_url":"https://api.github.com/users/upper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/upper/subscriptions","organizations_url":"https://api.github.com/users/upper/orgs","repos_url":"https://api.github.com/users/upper/repos","events_url":"https://api.github.com/users/upper/events{/privacy}","received_events_url":"https://api.github.com/users/upper/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/upper/bond","description":"Simple database model layer for upper.io/db","fork":false,"url":"https://api.github.com/repos/upper/bond","forks_url":"https://api.github.com/repos/upper/bond/forks","keys_url":"https://api.github.com/repos/upper/bond/keys{/key_id}","collaborators_url":"https://api.github.com/repos/upper/bond/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/upper/bond/teams","hooks_url":"https://api.github.com/repos/upper/bond/hooks","issue_events_url":"https://api.github.com/repos/upper/bond/issues/events{/number}","events_url":"https://api.github.com/repos/upper/bond/events","assignees_url":"https://api.github.com/repos/upper/bond/assignees{/user}","branches_url":"https://api.github.com/repos/upper/bond/branches{/branch}","tags_url":"https://api.github.com/repos/upper/bond/tags","blobs_url":"https://api.github.com/repos/upper/bond/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/upper/bond/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/upper/bond/git/refs{/sha}","trees_url":"https://api.github.com/repos/upper/bond/git/trees{/sha}","statuses_url":"https://api.github.com/repos/upper/bond/statuses/{sha}","languages_url":"https://api.github.com/repos/upper/bond/languages","stargazers_url":"https://api.github.com/repos/upper/bond/stargazers","contributors_url":"https://api.github.com/repos/upper/bond/contributors","subscribers_url":"https://api.github.com/repos/upper/bond/subscribers","subscription_url":"https://api.github.com/repos/upper/bond/subscription","commits_url":"https://api.github.com/repos/upper/bond/commits{/sha}","git_commits_url":"https://api.github.com/repos/upper/bond/git/commits{/sha}","comments_url":"https://api.github.com/repos/upper/bond/comments{/number}","issue_comment_url":"https://api.github.com/repos/upper/bond/issues/comments{/number}","contents_url":"https://api.github.com/repos/upper/bond/contents/{+path}","compare_url":"https://api.github.com/repos/upper/bond/compare/{base}...{head}","merges_url":"https://api.github.com/repos/upper/bond/merges","archive_url":"https://api.github.com/repos/upper/bond/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/upper/bond/downloads","issues_url":"https://api.github.com/repos/upper/bond/issues{/number}","pulls_url":"https://api.github.com/repos/upper/bond/pulls{/number}","milestones_url":"https://api.github.com/repos/upper/bond/milestones{/number}","notifications_url":"https://api.github.com/repos/upper/bond/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/upper/bond/labels{/name}","releases_url":"https://api.github.com/repos/upper/bond/releases{/id}","deployments_url":"https://api.github.com/repos/upper/bond/deployments","created_at":"2015-05-28T23:30:43Z","updated_at":"2016-02-11T20:04:23Z","pushed_at":"2016-03-08T04:22:54Z","git_url":"git://github.com/upper/bond.git","ssh_url":"git@github.com:upper/bond.git","clone_url":"https://github.com/upper/bond.git","svn_url":"https://github.com/upper/bond","homepage":"","size":23,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":8,"forks":1,"open_issues":8,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/upper/bond/pulls/18"},"html":{"href":"https://github.com/upper/bond/pull/18"},"issue":{"href":"https://api.github.com/repos/upper/bond/issues/18"},"comments":{"href":"https://api.github.com/repos/upper/bond/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/upper/bond/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/upper/bond/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/upper/bond/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/upper/bond/statuses/e69cdd66279067f04f8248774a7b5e1402eeb568"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":44,"deletions":27,"changed_files":1}}