{"action":"opened","number":1174,"pull_request":{"url":"https://api.github.com/repos/tgriesser/knex/pulls/1174","id":57817111,"html_url":"https://github.com/tgriesser/knex/pull/1174","diff_url":"https://github.com/tgriesser/knex/pull/1174.diff","patch_url":"https://github.com/tgriesser/knex/pull/1174.patch","issue_url":"https://api.github.com/repos/tgriesser/knex/issues/1174","number":1174,"state":"open","locked":false,"title":"Removes object keys with value undefined from being added to DB in update.","user":{"login":"elhigu","id":696345,"avatar_url":"https://avatars.githubusercontent.com/u/696345?v=3","gravatar_id":"","url":"https://api.github.com/users/elhigu","html_url":"https://github.com/elhigu","followers_url":"https://api.github.com/users/elhigu/followers","following_url":"https://api.github.com/users/elhigu/following{/other_user}","gists_url":"https://api.github.com/users/elhigu/gists{/gist_id}","starred_url":"https://api.github.com/users/elhigu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elhigu/subscriptions","organizations_url":"https://api.github.com/users/elhigu/orgs","repos_url":"https://api.github.com/users/elhigu/repos","events_url":"https://api.github.com/users/elhigu/events{/privacy}","received_events_url":"https://api.github.com/users/elhigu/received_events","type":"User","site_admin":false},"body":"Clean version of pq #962 with documentation. Fixes issue #961.","created_at":"2016-02-01T09:53:51Z","updated_at":"2016-02-01T09:53:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tgriesser/knex/pulls/1174/commits","review_comments_url":"https://api.github.com/repos/tgriesser/knex/pulls/1174/comments","review_comment_url":"https://api.github.com/repos/tgriesser/knex/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tgriesser/knex/issues/1174/comments","statuses_url":"https://api.github.com/repos/tgriesser/knex/statuses/79a77ac9322782182c14bbad1b25172103021b92","head":{"label":"elhigu:ignore-keys-with-undefined-value-from-update","ref":"ignore-keys-with-undefined-value-from-update","sha":"79a77ac9322782182c14bbad1b25172103021b92","user":{"login":"elhigu","id":696345,"avatar_url":"https://avatars.githubusercontent.com/u/696345?v=3","gravatar_id":"","url":"https://api.github.com/users/elhigu","html_url":"https://github.com/elhigu","followers_url":"https://api.github.com/users/elhigu/followers","following_url":"https://api.github.com/users/elhigu/following{/other_user}","gists_url":"https://api.github.com/users/elhigu/gists{/gist_id}","starred_url":"https://api.github.com/users/elhigu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elhigu/subscriptions","organizations_url":"https://api.github.com/users/elhigu/orgs","repos_url":"https://api.github.com/users/elhigu/repos","events_url":"https://api.github.com/users/elhigu/events{/privacy}","received_events_url":"https://api.github.com/users/elhigu/received_events","type":"User","site_admin":false},"repo":{"id":41290147,"name":"knex","full_name":"elhigu/knex","owner":{"login":"elhigu","id":696345,"avatar_url":"https://avatars.githubusercontent.com/u/696345?v=3","gravatar_id":"","url":"https://api.github.com/users/elhigu","html_url":"https://github.com/elhigu","followers_url":"https://api.github.com/users/elhigu/followers","following_url":"https://api.github.com/users/elhigu/following{/other_user}","gists_url":"https://api.github.com/users/elhigu/gists{/gist_id}","starred_url":"https://api.github.com/users/elhigu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elhigu/subscriptions","organizations_url":"https://api.github.com/users/elhigu/orgs","repos_url":"https://api.github.com/users/elhigu/repos","events_url":"https://api.github.com/users/elhigu/events{/privacy}","received_events_url":"https://api.github.com/users/elhigu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/elhigu/knex","description":"A query builder for PostgreSQL, MySQL and SQLite3, designed to be flexible, portable, and fun to use.","fork":true,"url":"https://api.github.com/repos/elhigu/knex","forks_url":"https://api.github.com/repos/elhigu/knex/forks","keys_url":"https://api.github.com/repos/elhigu/knex/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elhigu/knex/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elhigu/knex/teams","hooks_url":"https://api.github.com/repos/elhigu/knex/hooks","issue_events_url":"https://api.github.com/repos/elhigu/knex/issues/events{/number}","events_url":"https://api.github.com/repos/elhigu/knex/events","assignees_url":"https://api.github.com/repos/elhigu/knex/assignees{/user}","branches_url":"https://api.github.com/repos/elhigu/knex/branches{/branch}","tags_url":"https://api.github.com/repos/elhigu/knex/tags","blobs_url":"https://api.github.com/repos/elhigu/knex/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elhigu/knex/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elhigu/knex/git/refs{/sha}","trees_url":"https://api.github.com/repos/elhigu/knex/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elhigu/knex/statuses/{sha}","languages_url":"https://api.github.com/repos/elhigu/knex/languages","stargazers_url":"https://api.github.com/repos/elhigu/knex/stargazers","contributors_url":"https://api.github.com/repos/elhigu/knex/contributors","subscribers_url":"https://api.github.com/repos/elhigu/knex/subscribers","subscription_url":"https://api.github.com/repos/elhigu/knex/subscription","commits_url":"https://api.github.com/repos/elhigu/knex/commits{/sha}","git_commits_url":"https://api.github.com/repos/elhigu/knex/git/commits{/sha}","comments_url":"https://api.github.com/repos/elhigu/knex/comments{/number}","issue_comment_url":"https://api.github.com/repos/elhigu/knex/issues/comments{/number}","contents_url":"https://api.github.com/repos/elhigu/knex/contents/{+path}","compare_url":"https://api.github.com/repos/elhigu/knex/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elhigu/knex/merges","archive_url":"https://api.github.com/repos/elhigu/knex/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elhigu/knex/downloads","issues_url":"https://api.github.com/repos/elhigu/knex/issues{/number}","pulls_url":"https://api.github.com/repos/elhigu/knex/pulls{/number}","milestones_url":"https://api.github.com/repos/elhigu/knex/milestones{/number}","notifications_url":"https://api.github.com/repos/elhigu/knex/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elhigu/knex/labels{/name}","releases_url":"https://api.github.com/repos/elhigu/knex/releases{/id}","deployments_url":"https://api.github.com/repos/elhigu/knex/deployments","created_at":"2015-08-24T08:00:24Z","updated_at":"2015-08-24T08:00:25Z","pushed_at":"2016-02-01T09:51:42Z","git_url":"git://github.com/elhigu/knex.git","ssh_url":"git@github.com:elhigu/knex.git","clone_url":"https://github.com/elhigu/knex.git","svn_url":"https://github.com/elhigu/knex","homepage":"knexjs.org","size":5846,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"tgriesser:master","ref":"master","sha":"064d416a8e432caa23a42027e94fff8e10441cc8","user":{"login":"tgriesser","id":154748,"avatar_url":"https://avatars.githubusercontent.com/u/154748?v=3","gravatar_id":"","url":"https://api.github.com/users/tgriesser","html_url":"https://github.com/tgriesser","followers_url":"https://api.github.com/users/tgriesser/followers","following_url":"https://api.github.com/users/tgriesser/following{/other_user}","gists_url":"https://api.github.com/users/tgriesser/gists{/gist_id}","starred_url":"https://api.github.com/users/tgriesser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgriesser/subscriptions","organizations_url":"https://api.github.com/users/tgriesser/orgs","repos_url":"https://api.github.com/users/tgriesser/repos","events_url":"https://api.github.com/users/tgriesser/events{/privacy}","received_events_url":"https://api.github.com/users/tgriesser/received_events","type":"User","site_admin":false},"repo":{"id":7363211,"name":"knex","full_name":"tgriesser/knex","owner":{"login":"tgriesser","id":154748,"avatar_url":"https://avatars.githubusercontent.com/u/154748?v=3","gravatar_id":"","url":"https://api.github.com/users/tgriesser","html_url":"https://github.com/tgriesser","followers_url":"https://api.github.com/users/tgriesser/followers","following_url":"https://api.github.com/users/tgriesser/following{/other_user}","gists_url":"https://api.github.com/users/tgriesser/gists{/gist_id}","starred_url":"https://api.github.com/users/tgriesser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgriesser/subscriptions","organizations_url":"https://api.github.com/users/tgriesser/orgs","repos_url":"https://api.github.com/users/tgriesser/repos","events_url":"https://api.github.com/users/tgriesser/events{/privacy}","received_events_url":"https://api.github.com/users/tgriesser/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tgriesser/knex","description":"A query builder for PostgreSQL, MySQL and SQLite3, designed to be flexible, portable, and fun to use.","fork":false,"url":"https://api.github.com/repos/tgriesser/knex","forks_url":"https://api.github.com/repos/tgriesser/knex/forks","keys_url":"https://api.github.com/repos/tgriesser/knex/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tgriesser/knex/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tgriesser/knex/teams","hooks_url":"https://api.github.com/repos/tgriesser/knex/hooks","issue_events_url":"https://api.github.com/repos/tgriesser/knex/issues/events{/number}","events_url":"https://api.github.com/repos/tgriesser/knex/events","assignees_url":"https://api.github.com/repos/tgriesser/knex/assignees{/user}","branches_url":"https://api.github.com/repos/tgriesser/knex/branches{/branch}","tags_url":"https://api.github.com/repos/tgriesser/knex/tags","blobs_url":"https://api.github.com/repos/tgriesser/knex/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tgriesser/knex/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tgriesser/knex/git/refs{/sha}","trees_url":"https://api.github.com/repos/tgriesser/knex/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tgriesser/knex/statuses/{sha}","languages_url":"https://api.github.com/repos/tgriesser/knex/languages","stargazers_url":"https://api.github.com/repos/tgriesser/knex/stargazers","contributors_url":"https://api.github.com/repos/tgriesser/knex/contributors","subscribers_url":"https://api.github.com/repos/tgriesser/knex/subscribers","subscription_url":"https://api.github.com/repos/tgriesser/knex/subscription","commits_url":"https://api.github.com/repos/tgriesser/knex/commits{/sha}","git_commits_url":"https://api.github.com/repos/tgriesser/knex/git/commits{/sha}","comments_url":"https://api.github.com/repos/tgriesser/knex/comments{/number}","issue_comment_url":"https://api.github.com/repos/tgriesser/knex/issues/comments{/number}","contents_url":"https://api.github.com/repos/tgriesser/knex/contents/{+path}","compare_url":"https://api.github.com/repos/tgriesser/knex/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tgriesser/knex/merges","archive_url":"https://api.github.com/repos/tgriesser/knex/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tgriesser/knex/downloads","issues_url":"https://api.github.com/repos/tgriesser/knex/issues{/number}","pulls_url":"https://api.github.com/repos/tgriesser/knex/pulls{/number}","milestones_url":"https://api.github.com/repos/tgriesser/knex/milestones{/number}","notifications_url":"https://api.github.com/repos/tgriesser/knex/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tgriesser/knex/labels{/name}","releases_url":"https://api.github.com/repos/tgriesser/knex/releases{/id}","deployments_url":"https://api.github.com/repos/tgriesser/knex/deployments","created_at":"2012-12-29T05:18:25Z","updated_at":"2016-02-01T02:17:16Z","pushed_at":"2016-01-30T15:11:27Z","git_url":"git://github.com/tgriesser/knex.git","ssh_url":"git@github.com:tgriesser/knex.git","clone_url":"https://github.com/tgriesser/knex.git","svn_url":"https://github.com/tgriesser/knex","homepage":"knexjs.org","size":6556,"stargazers_count":2362,"watchers_count":2362,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":344,"mirror_url":null,"open_issues_count":314,"forks":344,"open_issues":314,"watchers":2362,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tgriesser/knex/pulls/1174"},"html":{"href":"https://github.com/tgriesser/knex/pull/1174"},"issue":{"href":"https://api.github.com/repos/tgriesser/knex/issues/1174"},"comments":{"href":"https://api.github.com/repos/tgriesser/knex/issues/1174/comments"},"review_comments":{"href":"https://api.github.com/repos/tgriesser/knex/pulls/1174/comments"},"review_comment":{"href":"https://api.github.com/repos/tgriesser/knex/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tgriesser/knex/pulls/1174/commits"},"statuses":{"href":"https://api.github.com/repos/tgriesser/knex/statuses/79a77ac9322782182c14bbad1b25172103021b92"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":18,"deletions":2,"changed_files":3}}