{"action":"closed","number":1132,"pull_request":{"url":"https://api.github.com/repos/antirez/redis/pulls/1132","id":5954228,"html_url":"https://github.com/antirez/redis/pull/1132","diff_url":"https://github.com/antirez/redis/pull/1132.diff","patch_url":"https://github.com/antirez/redis/pull/1132.patch","issue_url":"https://api.github.com/repos/antirez/redis/issues/1132","number":1132,"state":"closed","locked":false,"title":"Feature: zaddnx - Issue #1128","user":{"login":"charsyam","id":439301,"avatar_url":"https://avatars.githubusercontent.com/u/439301?v=3","gravatar_id":"","url":"https://api.github.com/users/charsyam","html_url":"https://github.com/charsyam","followers_url":"https://api.github.com/users/charsyam/followers","following_url":"https://api.github.com/users/charsyam/following{/other_user}","gists_url":"https://api.github.com/users/charsyam/gists{/gist_id}","starred_url":"https://api.github.com/users/charsyam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charsyam/subscriptions","organizations_url":"https://api.github.com/users/charsyam/orgs","repos_url":"https://api.github.com/users/charsyam/repos","events_url":"https://api.github.com/users/charsyam/events{/privacy}","received_events_url":"https://api.github.com/users/charsyam/received_events","type":"User","site_admin":false},"body":"New Feature : ZADDNX\r\n\r\n1] spec\r\n * if data exists in ZSET, just skip.\r\n * if data doesn't exists in ZSET, add data into ZSET\r\n\r\n2] Usage\r\n```c\r\nredis 127.0.0.1:6379> zaddnx mykey 1 one 2 two 3 three\r\n(integer) 3\r\nredis 127.0.0.1:6379> zaddnx mykey 3 one\r\n(integer) 0\r\nredis 127.0.0.1:6379> zaddnx mykey 2 one 4 four\r\n(integer) 1\r\n```","created_at":"2013-05-28T03:06:59Z","updated_at":"2015-05-29T10:41:46Z","closed_at":"2015-05-29T10:41:46Z","merged_at":null,"merge_commit_sha":"ab1da1a1fddbc05fd27c6c49add70c600bdde348","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/antirez/redis/pulls/1132/commits","review_comments_url":"https://api.github.com/repos/antirez/redis/pulls/1132/comments","review_comment_url":"https://api.github.com/repos/antirez/redis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/antirez/redis/issues/1132/comments","statuses_url":"https://api.github.com/repos/antirez/redis/statuses/0de21441117bc045e7bc5c6ede05a1c3921b7d53","head":{"label":"charsyam:zaddnx","ref":"zaddnx","sha":"0de21441117bc045e7bc5c6ede05a1c3921b7d53","user":{"login":"charsyam","id":439301,"avatar_url":"https://avatars.githubusercontent.com/u/439301?v=3","gravatar_id":"","url":"https://api.github.com/users/charsyam","html_url":"https://github.com/charsyam","followers_url":"https://api.github.com/users/charsyam/followers","following_url":"https://api.github.com/users/charsyam/following{/other_user}","gists_url":"https://api.github.com/users/charsyam/gists{/gist_id}","starred_url":"https://api.github.com/users/charsyam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charsyam/subscriptions","organizations_url":"https://api.github.com/users/charsyam/orgs","repos_url":"https://api.github.com/users/charsyam/repos","events_url":"https://api.github.com/users/charsyam/events{/privacy}","received_events_url":"https://api.github.com/users/charsyam/received_events","type":"User","site_admin":false},"repo":{"id":6667088,"name":"redis","full_name":"charsyam/redis","owner":{"login":"charsyam","id":439301,"avatar_url":"https://avatars.githubusercontent.com/u/439301?v=3","gravatar_id":"","url":"https://api.github.com/users/charsyam","html_url":"https://github.com/charsyam","followers_url":"https://api.github.com/users/charsyam/followers","following_url":"https://api.github.com/users/charsyam/following{/other_user}","gists_url":"https://api.github.com/users/charsyam/gists{/gist_id}","starred_url":"https://api.github.com/users/charsyam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charsyam/subscriptions","organizations_url":"https://api.github.com/users/charsyam/orgs","repos_url":"https://api.github.com/users/charsyam/repos","events_url":"https://api.github.com/users/charsyam/events{/privacy}","received_events_url":"https://api.github.com/users/charsyam/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/charsyam/redis","description":"Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes","fork":true,"url":"https://api.github.com/repos/charsyam/redis","forks_url":"https://api.github.com/repos/charsyam/redis/forks","keys_url":"https://api.github.com/repos/charsyam/redis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/charsyam/redis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/charsyam/redis/teams","hooks_url":"https://api.github.com/repos/charsyam/redis/hooks","issue_events_url":"https://api.github.com/repos/charsyam/redis/issues/events{/number}","events_url":"https://api.github.com/repos/charsyam/redis/events","assignees_url":"https://api.github.com/repos/charsyam/redis/assignees{/user}","branches_url":"https://api.github.com/repos/charsyam/redis/branches{/branch}","tags_url":"https://api.github.com/repos/charsyam/redis/tags","blobs_url":"https://api.github.com/repos/charsyam/redis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/charsyam/redis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/charsyam/redis/git/refs{/sha}","trees_url":"https://api.github.com/repos/charsyam/redis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/charsyam/redis/statuses/{sha}","languages_url":"https://api.github.com/repos/charsyam/redis/languages","stargazers_url":"https://api.github.com/repos/charsyam/redis/stargazers","contributors_url":"https://api.github.com/repos/charsyam/redis/contributors","subscribers_url":"https://api.github.com/repos/charsyam/redis/subscribers","subscription_url":"https://api.github.com/repos/charsyam/redis/subscription","commits_url":"https://api.github.com/repos/charsyam/redis/commits{/sha}","git_commits_url":"https://api.github.com/repos/charsyam/redis/git/commits{/sha}","comments_url":"https://api.github.com/repos/charsyam/redis/comments{/number}","issue_comment_url":"https://api.github.com/repos/charsyam/redis/issues/comments{/number}","contents_url":"https://api.github.com/repos/charsyam/redis/contents/{+path}","compare_url":"https://api.github.com/repos/charsyam/redis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/charsyam/redis/merges","archive_url":"https://api.github.com/repos/charsyam/redis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/charsyam/redis/downloads","issues_url":"https://api.github.com/repos/charsyam/redis/issues{/number}","pulls_url":"https://api.github.com/repos/charsyam/redis/pulls{/number}","milestones_url":"https://api.github.com/repos/charsyam/redis/milestones{/number}","notifications_url":"https://api.github.com/repos/charsyam/redis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/charsyam/redis/labels{/name}","releases_url":"https://api.github.com/repos/charsyam/redis/releases{/id}","created_at":"2012-11-13T07:38:58Z","updated_at":"2015-04-28T15:02:34Z","pushed_at":"2015-05-05T13:51:42Z","git_url":"git://github.com/charsyam/redis.git","ssh_url":"git@github.com:charsyam/redis.git","clone_url":"https://github.com/charsyam/redis.git","svn_url":"https://github.com/charsyam/redis","homepage":"http://redis.io","size":16924,"stargazers_count":2,"watchers_count":2,"language":"C","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":2,"default_branch":"unstable"}},"base":{"label":"antirez:unstable","ref":"unstable","sha":"e5a22064cce137cb4897779050966a719dd4bdce","user":{"login":"antirez","id":65632,"avatar_url":"https://avatars.githubusercontent.com/u/65632?v=3","gravatar_id":"","url":"https://api.github.com/users/antirez","html_url":"https://github.com/antirez","followers_url":"https://api.github.com/users/antirez/followers","following_url":"https://api.github.com/users/antirez/following{/other_user}","gists_url":"https://api.github.com/users/antirez/gists{/gist_id}","starred_url":"https://api.github.com/users/antirez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antirez/subscriptions","organizations_url":"https://api.github.com/users/antirez/orgs","repos_url":"https://api.github.com/users/antirez/repos","events_url":"https://api.github.com/users/antirez/events{/privacy}","received_events_url":"https://api.github.com/users/antirez/received_events","type":"User","site_admin":false},"repo":{"id":156018,"name":"redis","full_name":"antirez/redis","owner":{"login":"antirez","id":65632,"avatar_url":"https://avatars.githubusercontent.com/u/65632?v=3","gravatar_id":"","url":"https://api.github.com/users/antirez","html_url":"https://github.com/antirez","followers_url":"https://api.github.com/users/antirez/followers","following_url":"https://api.github.com/users/antirez/following{/other_user}","gists_url":"https://api.github.com/users/antirez/gists{/gist_id}","starred_url":"https://api.github.com/users/antirez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antirez/subscriptions","organizations_url":"https://api.github.com/users/antirez/orgs","repos_url":"https://api.github.com/users/antirez/repos","events_url":"https://api.github.com/users/antirez/events{/privacy}","received_events_url":"https://api.github.com/users/antirez/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/antirez/redis","description":"Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, HyperLogLogs, Bitmaps.","fork":false,"url":"https://api.github.com/repos/antirez/redis","forks_url":"https://api.github.com/repos/antirez/redis/forks","keys_url":"https://api.github.com/repos/antirez/redis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/antirez/redis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/antirez/redis/teams","hooks_url":"https://api.github.com/repos/antirez/redis/hooks","issue_events_url":"https://api.github.com/repos/antirez/redis/issues/events{/number}","events_url":"https://api.github.com/repos/antirez/redis/events","assignees_url":"https://api.github.com/repos/antirez/redis/assignees{/user}","branches_url":"https://api.github.com/repos/antirez/redis/branches{/branch}","tags_url":"https://api.github.com/repos/antirez/redis/tags","blobs_url":"https://api.github.com/repos/antirez/redis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/antirez/redis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/antirez/redis/git/refs{/sha}","trees_url":"https://api.github.com/repos/antirez/redis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/antirez/redis/statuses/{sha}","languages_url":"https://api.github.com/repos/antirez/redis/languages","stargazers_url":"https://api.github.com/repos/antirez/redis/stargazers","contributors_url":"https://api.github.com/repos/antirez/redis/contributors","subscribers_url":"https://api.github.com/repos/antirez/redis/subscribers","subscription_url":"https://api.github.com/repos/antirez/redis/subscription","commits_url":"https://api.github.com/repos/antirez/redis/commits{/sha}","git_commits_url":"https://api.github.com/repos/antirez/redis/git/commits{/sha}","comments_url":"https://api.github.com/repos/antirez/redis/comments{/number}","issue_comment_url":"https://api.github.com/repos/antirez/redis/issues/comments{/number}","contents_url":"https://api.github.com/repos/antirez/redis/contents/{+path}","compare_url":"https://api.github.com/repos/antirez/redis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/antirez/redis/merges","archive_url":"https://api.github.com/repos/antirez/redis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/antirez/redis/downloads","issues_url":"https://api.github.com/repos/antirez/redis/issues{/number}","pulls_url":"https://api.github.com/repos/antirez/redis/pulls{/number}","milestones_url":"https://api.github.com/repos/antirez/redis/milestones{/number}","notifications_url":"https://api.github.com/repos/antirez/redis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/antirez/redis/labels{/name}","releases_url":"https://api.github.com/repos/antirez/redis/releases{/id}","created_at":"2009-03-21T22:32:25Z","updated_at":"2015-05-29T10:02:40Z","pushed_at":"2015-05-29T10:28:11Z","git_url":"git://github.com/antirez/redis.git","ssh_url":"git@github.com:antirez/redis.git","clone_url":"https://github.com/antirez/redis.git","svn_url":"https://github.com/antirez/redis","homepage":"http://redis.io","size":175640,"stargazers_count":13465,"watchers_count":13465,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4429,"mirror_url":null,"open_issues_count":733,"forks":4429,"open_issues":733,"watchers":13465,"default_branch":"unstable"}},"_links":{"self":{"href":"https://api.github.com/repos/antirez/redis/pulls/1132"},"html":{"href":"https://github.com/antirez/redis/pull/1132"},"issue":{"href":"https://api.github.com/repos/antirez/redis/issues/1132"},"comments":{"href":"https://api.github.com/repos/antirez/redis/issues/1132/comments"},"review_comments":{"href":"https://api.github.com/repos/antirez/redis/pulls/1132/comments"},"review_comment":{"href":"https://api.github.com/repos/antirez/redis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/antirez/redis/pulls/1132/commits"},"statuses":{"href":"https://api.github.com/repos/antirez/redis/statuses/0de21441117bc045e7bc5c6ede05a1c3921b7d53"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":12,"review_comments":1,"commits":1,"additions":26,"deletions":3,"changed_files":4}}