{"action":"reopened","number":2,"pull_request":{"url":"https://api.github.com/repos/theyak/Tau/pulls/2","id":87592597,"html_url":"https://github.com/theyak/Tau/pull/2","diff_url":"https://github.com/theyak/Tau/pull/2.diff","patch_url":"https://github.com/theyak/Tau/pull/2.patch","issue_url":"https://api.github.com/repos/theyak/Tau/issues/2","number":2,"state":"open","locked":false,"title":"Allow inSet() to work with an empty array","user":{"login":"slester","id":104014,"avatar_url":"https://avatars.githubusercontent.com/u/104014?v=3","gravatar_id":"","url":"https://api.github.com/users/slester","html_url":"https://github.com/slester","followers_url":"https://api.github.com/users/slester/followers","following_url":"https://api.github.com/users/slester/following{/other_user}","gists_url":"https://api.github.com/users/slester/gists{/gist_id}","starred_url":"https://api.github.com/users/slester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slester/subscriptions","organizations_url":"https://api.github.com/users/slester/orgs","repos_url":"https://api.github.com/users/slester/repos","events_url":"https://api.github.com/users/slester/events{/privacy}","received_events_url":"https://api.github.com/users/slester/received_events","type":"User","site_admin":false},"body":"When using `$db->inSet('field', $set)` where `$set` is an empty array, SQL errors occur because the generated SQL is `IN ()`. This pull request would change that to the logical equivalent, which is simply `FALSE` (or `TRUE` if `$negate` is set to `true`).","created_at":"2016-10-01T05:39:39Z","updated_at":"2016-10-01T21:34:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bcff9b82c3a1ad0864e6114bd06322c18e98397f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/theyak/Tau/pulls/2/commits","review_comments_url":"https://api.github.com/repos/theyak/Tau/pulls/2/comments","review_comment_url":"https://api.github.com/repos/theyak/Tau/pulls/comments{/number}","comments_url":"https://api.github.com/repos/theyak/Tau/issues/2/comments","statuses_url":"https://api.github.com/repos/theyak/Tau/statuses/ccc0534d533105ee3b5b591e07cb8dcb59112499","head":{"label":"slester:master","ref":"master","sha":"ccc0534d533105ee3b5b591e07cb8dcb59112499","user":{"login":"slester","id":104014,"avatar_url":"https://avatars.githubusercontent.com/u/104014?v=3","gravatar_id":"","url":"https://api.github.com/users/slester","html_url":"https://github.com/slester","followers_url":"https://api.github.com/users/slester/followers","following_url":"https://api.github.com/users/slester/following{/other_user}","gists_url":"https://api.github.com/users/slester/gists{/gist_id}","starred_url":"https://api.github.com/users/slester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slester/subscriptions","organizations_url":"https://api.github.com/users/slester/orgs","repos_url":"https://api.github.com/users/slester/repos","events_url":"https://api.github.com/users/slester/events{/privacy}","received_events_url":"https://api.github.com/users/slester/received_events","type":"User","site_admin":false},"repo":{"id":69721204,"name":"Tau","full_name":"slester/Tau","owner":{"login":"slester","id":104014,"avatar_url":"https://avatars.githubusercontent.com/u/104014?v=3","gravatar_id":"","url":"https://api.github.com/users/slester","html_url":"https://github.com/slester","followers_url":"https://api.github.com/users/slester/followers","following_url":"https://api.github.com/users/slester/following{/other_user}","gists_url":"https://api.github.com/users/slester/gists{/gist_id}","starred_url":"https://api.github.com/users/slester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slester/subscriptions","organizations_url":"https://api.github.com/users/slester/orgs","repos_url":"https://api.github.com/users/slester/repos","events_url":"https://api.github.com/users/slester/events{/privacy}","received_events_url":"https://api.github.com/users/slester/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/slester/Tau","description":"Initial Push","fork":true,"url":"https://api.github.com/repos/slester/Tau","forks_url":"https://api.github.com/repos/slester/Tau/forks","keys_url":"https://api.github.com/repos/slester/Tau/keys{/key_id}","collaborators_url":"https://api.github.com/repos/slester/Tau/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/slester/Tau/teams","hooks_url":"https://api.github.com/repos/slester/Tau/hooks","issue_events_url":"https://api.github.com/repos/slester/Tau/issues/events{/number}","events_url":"https://api.github.com/repos/slester/Tau/events","assignees_url":"https://api.github.com/repos/slester/Tau/assignees{/user}","branches_url":"https://api.github.com/repos/slester/Tau/branches{/branch}","tags_url":"https://api.github.com/repos/slester/Tau/tags","blobs_url":"https://api.github.com/repos/slester/Tau/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/slester/Tau/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/slester/Tau/git/refs{/sha}","trees_url":"https://api.github.com/repos/slester/Tau/git/trees{/sha}","statuses_url":"https://api.github.com/repos/slester/Tau/statuses/{sha}","languages_url":"https://api.github.com/repos/slester/Tau/languages","stargazers_url":"https://api.github.com/repos/slester/Tau/stargazers","contributors_url":"https://api.github.com/repos/slester/Tau/contributors","subscribers_url":"https://api.github.com/repos/slester/Tau/subscribers","subscription_url":"https://api.github.com/repos/slester/Tau/subscription","commits_url":"https://api.github.com/repos/slester/Tau/commits{/sha}","git_commits_url":"https://api.github.com/repos/slester/Tau/git/commits{/sha}","comments_url":"https://api.github.com/repos/slester/Tau/comments{/number}","issue_comment_url":"https://api.github.com/repos/slester/Tau/issues/comments{/number}","contents_url":"https://api.github.com/repos/slester/Tau/contents/{+path}","compare_url":"https://api.github.com/repos/slester/Tau/compare/{base}...{head}","merges_url":"https://api.github.com/repos/slester/Tau/merges","archive_url":"https://api.github.com/repos/slester/Tau/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/slester/Tau/downloads","issues_url":"https://api.github.com/repos/slester/Tau/issues{/number}","pulls_url":"https://api.github.com/repos/slester/Tau/pulls{/number}","milestones_url":"https://api.github.com/repos/slester/Tau/milestones{/number}","notifications_url":"https://api.github.com/repos/slester/Tau/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/slester/Tau/labels{/name}","releases_url":"https://api.github.com/repos/slester/Tau/releases{/id}","deployments_url":"https://api.github.com/repos/slester/Tau/deployments","created_at":"2016-10-01T05:27:53Z","updated_at":"2016-10-01T05:27:54Z","pushed_at":"2016-10-01T05:37:36Z","git_url":"git://github.com/slester/Tau.git","ssh_url":"git@github.com:slester/Tau.git","clone_url":"https://github.com/slester/Tau.git","svn_url":"https://github.com/slester/Tau","homepage":null,"size":133,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"theyak:master","ref":"master","sha":"73ef80cb16913ad7001387979192be076dbe8273","user":{"login":"theyak","id":211792,"avatar_url":"https://avatars.githubusercontent.com/u/211792?v=3","gravatar_id":"","url":"https://api.github.com/users/theyak","html_url":"https://github.com/theyak","followers_url":"https://api.github.com/users/theyak/followers","following_url":"https://api.github.com/users/theyak/following{/other_user}","gists_url":"https://api.github.com/users/theyak/gists{/gist_id}","starred_url":"https://api.github.com/users/theyak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theyak/subscriptions","organizations_url":"https://api.github.com/users/theyak/orgs","repos_url":"https://api.github.com/users/theyak/repos","events_url":"https://api.github.com/users/theyak/events{/privacy}","received_events_url":"https://api.github.com/users/theyak/received_events","type":"User","site_admin":false},"repo":{"id":5732809,"name":"Tau","full_name":"theyak/Tau","owner":{"login":"theyak","id":211792,"avatar_url":"https://avatars.githubusercontent.com/u/211792?v=3","gravatar_id":"","url":"https://api.github.com/users/theyak","html_url":"https://github.com/theyak","followers_url":"https://api.github.com/users/theyak/followers","following_url":"https://api.github.com/users/theyak/following{/other_user}","gists_url":"https://api.github.com/users/theyak/gists{/gist_id}","starred_url":"https://api.github.com/users/theyak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theyak/subscriptions","organizations_url":"https://api.github.com/users/theyak/orgs","repos_url":"https://api.github.com/users/theyak/repos","events_url":"https://api.github.com/users/theyak/events{/privacy}","received_events_url":"https://api.github.com/users/theyak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/theyak/Tau","description":"Initial Push","fork":false,"url":"https://api.github.com/repos/theyak/Tau","forks_url":"https://api.github.com/repos/theyak/Tau/forks","keys_url":"https://api.github.com/repos/theyak/Tau/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theyak/Tau/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theyak/Tau/teams","hooks_url":"https://api.github.com/repos/theyak/Tau/hooks","issue_events_url":"https://api.github.com/repos/theyak/Tau/issues/events{/number}","events_url":"https://api.github.com/repos/theyak/Tau/events","assignees_url":"https://api.github.com/repos/theyak/Tau/assignees{/user}","branches_url":"https://api.github.com/repos/theyak/Tau/branches{/branch}","tags_url":"https://api.github.com/repos/theyak/Tau/tags","blobs_url":"https://api.github.com/repos/theyak/Tau/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theyak/Tau/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theyak/Tau/git/refs{/sha}","trees_url":"https://api.github.com/repos/theyak/Tau/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theyak/Tau/statuses/{sha}","languages_url":"https://api.github.com/repos/theyak/Tau/languages","stargazers_url":"https://api.github.com/repos/theyak/Tau/stargazers","contributors_url":"https://api.github.com/repos/theyak/Tau/contributors","subscribers_url":"https://api.github.com/repos/theyak/Tau/subscribers","subscription_url":"https://api.github.com/repos/theyak/Tau/subscription","commits_url":"https://api.github.com/repos/theyak/Tau/commits{/sha}","git_commits_url":"https://api.github.com/repos/theyak/Tau/git/commits{/sha}","comments_url":"https://api.github.com/repos/theyak/Tau/comments{/number}","issue_comment_url":"https://api.github.com/repos/theyak/Tau/issues/comments{/number}","contents_url":"https://api.github.com/repos/theyak/Tau/contents/{+path}","compare_url":"https://api.github.com/repos/theyak/Tau/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theyak/Tau/merges","archive_url":"https://api.github.com/repos/theyak/Tau/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theyak/Tau/downloads","issues_url":"https://api.github.com/repos/theyak/Tau/issues{/number}","pulls_url":"https://api.github.com/repos/theyak/Tau/pulls{/number}","milestones_url":"https://api.github.com/repos/theyak/Tau/milestones{/number}","notifications_url":"https://api.github.com/repos/theyak/Tau/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theyak/Tau/labels{/name}","releases_url":"https://api.github.com/repos/theyak/Tau/releases{/id}","deployments_url":"https://api.github.com/repos/theyak/Tau/deployments","created_at":"2012-09-08T22:29:32Z","updated_at":"2016-02-15T17:54:48Z","pushed_at":"2016-10-01T05:39:39Z","git_url":"git://github.com/theyak/Tau.git","ssh_url":"git@github.com:theyak/Tau.git","clone_url":"https://github.com/theyak/Tau.git","svn_url":"https://github.com/theyak/Tau","homepage":null,"size":133,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/theyak/Tau/pulls/2"},"html":{"href":"https://github.com/theyak/Tau/pull/2"},"issue":{"href":"https://api.github.com/repos/theyak/Tau/issues/2"},"comments":{"href":"https://api.github.com/repos/theyak/Tau/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/theyak/Tau/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/theyak/Tau/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/theyak/Tau/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/theyak/Tau/statuses/ccc0534d533105ee3b5b591e07cb8dcb59112499"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":13,"deletions":8,"changed_files":1}}
{"actor":{"display_login":"theyak"}}