{"action":"created","comment":{"url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/pulls/comments/94214732","pull_request_review_id":14745123,"id":94214732,"diff_hunk":"@@ -119,12 +119,13 @@ public function orWhere($cond)\n      *\n      * @param string $col The column name.\n      *\n-     * @return $this\n+     * @param array $value\n      *\n+     * @return $this\n      */\n-    public function col($col)\n+    public function col($col, ...$value)\n     {\n-        return call_user_func_array(array($this, 'addCol'), func_get_args());\n+        return empty($value) ? $this->addCol($col) : $this->addCol($col, $value[0]);","path":"src/Common/Update.php","position":13,"original_position":13,"commit_id":"417909c1d223abf7e4ca3d371718b1e41ec81bb4","original_commit_id":"417909c1d223abf7e4ca3d371718b1e41ec81bb4","user":{"login":"harikt","id":120454,"avatar_url":"https://avatars.githubusercontent.com/u/120454?v=3","gravatar_id":"","url":"https://api.github.com/users/harikt","html_url":"https://github.com/harikt","followers_url":"https://api.github.com/users/harikt/followers","following_url":"https://api.github.com/users/harikt/following{/other_user}","gists_url":"https://api.github.com/users/harikt/gists{/gist_id}","starred_url":"https://api.github.com/users/harikt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harikt/subscriptions","organizations_url":"https://api.github.com/users/harikt/orgs","repos_url":"https://api.github.com/users/harikt/repos","events_url":"https://api.github.com/users/harikt/events{/privacy}","received_events_url":"https://api.github.com/users/harikt/received_events","type":"User","site_admin":false},"body":"I like this may be more performance ?","created_at":"2016-12-30T09:47:07Z","updated_at":"2016-12-30T09:47:07Z","html_url":"https://github.com/auraphp/Aura.SqlQuery/pull/111#discussion_r94214732","pull_request_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/pulls/111","_links":{"self":{"href":"https://api.github.com/repos/auraphp/Aura.SqlQuery/pulls/comments/94214732"},"html":{"href":"https://github.com/auraphp/Aura.SqlQuery/pull/111#discussion_r94214732"},"pull_request":{"href":"https://api.github.com/repos/auraphp/Aura.SqlQuery/pulls/111"}}},"pull_request":{"url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/pulls/111","id":99717584,"html_url":"https://github.com/auraphp/Aura.SqlQuery/pull/111","diff_url":"https://github.com/auraphp/Aura.SqlQuery/pull/111.diff","patch_url":"https://github.com/auraphp/Aura.SqlQuery/pull/111.patch","issue_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/issues/111","number":111,"state":"open","locked":false,"title":"insert->col() and update->col() use variable argument lists","user":{"login":"pavarnos","id":589595,"avatar_url":"https://avatars.githubusercontent.com/u/589595?v=3","gravatar_id":"","url":"https://api.github.com/users/pavarnos","html_url":"https://github.com/pavarnos","followers_url":"https://api.github.com/users/pavarnos/followers","following_url":"https://api.github.com/users/pavarnos/following{/other_user}","gists_url":"https://api.github.com/users/pavarnos/gists{/gist_id}","starred_url":"https://api.github.com/users/pavarnos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavarnos/subscriptions","organizations_url":"https://api.github.com/users/pavarnos/orgs","repos_url":"https://api.github.com/users/pavarnos/repos","events_url":"https://api.github.com/users/pavarnos/events{/privacy}","received_events_url":"https://api.github.com/users/pavarnos/received_events","type":"User","site_admin":false},"body":"so IDEs will not show an error if the $value parameter is used.","created_at":"2016-12-30T02:32:47Z","updated_at":"2016-12-30T09:47:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"54154e52efa04d2188e45df0474105c0d7719c2b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/pulls/111/commits","review_comments_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/pulls/111/comments","review_comment_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/pulls/comments{/number}","comments_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/issues/111/comments","statuses_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/statuses/417909c1d223abf7e4ca3d371718b1e41ec81bb4","head":{"label":"pavarnos:col","ref":"col","sha":"417909c1d223abf7e4ca3d371718b1e41ec81bb4","user":{"login":"pavarnos","id":589595,"avatar_url":"https://avatars.githubusercontent.com/u/589595?v=3","gravatar_id":"","url":"https://api.github.com/users/pavarnos","html_url":"https://github.com/pavarnos","followers_url":"https://api.github.com/users/pavarnos/followers","following_url":"https://api.github.com/users/pavarnos/following{/other_user}","gists_url":"https://api.github.com/users/pavarnos/gists{/gist_id}","starred_url":"https://api.github.com/users/pavarnos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavarnos/subscriptions","organizations_url":"https://api.github.com/users/pavarnos/orgs","repos_url":"https://api.github.com/users/pavarnos/repos","events_url":"https://api.github.com/users/pavarnos/events{/privacy}","received_events_url":"https://api.github.com/users/pavarnos/received_events","type":"User","site_admin":false},"repo":{"id":77650052,"name":"Aura.SqlQuery","full_name":"pavarnos/Aura.SqlQuery","owner":{"login":"pavarnos","id":589595,"avatar_url":"https://avatars.githubusercontent.com/u/589595?v=3","gravatar_id":"","url":"https://api.github.com/users/pavarnos","html_url":"https://github.com/pavarnos","followers_url":"https://api.github.com/users/pavarnos/followers","following_url":"https://api.github.com/users/pavarnos/following{/other_user}","gists_url":"https://api.github.com/users/pavarnos/gists{/gist_id}","starred_url":"https://api.github.com/users/pavarnos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavarnos/subscriptions","organizations_url":"https://api.github.com/users/pavarnos/orgs","repos_url":"https://api.github.com/users/pavarnos/repos","events_url":"https://api.github.com/users/pavarnos/events{/privacy}","received_events_url":"https://api.github.com/users/pavarnos/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pavarnos/Aura.SqlQuery","description":"Independent query builders for MySQL, PostgreSQL, SQLite, and Microsoft SQL Server.","fork":true,"url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery","forks_url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery/forks","keys_url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery/teams","hooks_url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery/hooks","issue_events_url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery/issues/events{/number}","events_url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery/events","assignees_url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery/assignees{/user}","branches_url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery/branches{/branch}","tags_url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery/tags","blobs_url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery/git/refs{/sha}","trees_url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery/statuses/{sha}","languages_url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery/languages","stargazers_url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery/stargazers","contributors_url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery/contributors","subscribers_url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery/subscribers","subscription_url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery/subscription","commits_url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery/commits{/sha}","git_commits_url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery/git/commits{/sha}","comments_url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery/comments{/number}","issue_comment_url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery/issues/comments{/number}","contents_url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery/contents/{+path}","compare_url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery/merges","archive_url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery/downloads","issues_url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery/issues{/number}","pulls_url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery/pulls{/number}","milestones_url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery/milestones{/number}","notifications_url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery/labels{/name}","releases_url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery/releases{/id}","deployments_url":"https://api.github.com/repos/pavarnos/Aura.SqlQuery/deployments","created_at":"2016-12-30T01:15:27Z","updated_at":"2016-12-30T01:15:29Z","pushed_at":"2016-12-30T08:41:40Z","git_url":"git://github.com/pavarnos/Aura.SqlQuery.git","ssh_url":"git@github.com:pavarnos/Aura.SqlQuery.git","clone_url":"https://github.com/pavarnos/Aura.SqlQuery.git","svn_url":"https://github.com/pavarnos/Aura.SqlQuery","homepage":null,"size":931,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"2.x"}},"base":{"label":"auraphp:3.x","ref":"3.x","sha":"dd81b57aeb43628180a9c70a4df58d872024d7f2","user":{"login":"auraphp","id":611900,"avatar_url":"https://avatars.githubusercontent.com/u/611900?v=3","gravatar_id":"","url":"https://api.github.com/users/auraphp","html_url":"https://github.com/auraphp","followers_url":"https://api.github.com/users/auraphp/followers","following_url":"https://api.github.com/users/auraphp/following{/other_user}","gists_url":"https://api.github.com/users/auraphp/gists{/gist_id}","starred_url":"https://api.github.com/users/auraphp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/auraphp/subscriptions","organizations_url":"https://api.github.com/users/auraphp/orgs","repos_url":"https://api.github.com/users/auraphp/repos","events_url":"https://api.github.com/users/auraphp/events{/privacy}","received_events_url":"https://api.github.com/users/auraphp/received_events","type":"Organization","site_admin":false},"repo":{"id":13157487,"name":"Aura.SqlQuery","full_name":"auraphp/Aura.SqlQuery","owner":{"login":"auraphp","id":611900,"avatar_url":"https://avatars.githubusercontent.com/u/611900?v=3","gravatar_id":"","url":"https://api.github.com/users/auraphp","html_url":"https://github.com/auraphp","followers_url":"https://api.github.com/users/auraphp/followers","following_url":"https://api.github.com/users/auraphp/following{/other_user}","gists_url":"https://api.github.com/users/auraphp/gists{/gist_id}","starred_url":"https://api.github.com/users/auraphp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/auraphp/subscriptions","organizations_url":"https://api.github.com/users/auraphp/orgs","repos_url":"https://api.github.com/users/auraphp/repos","events_url":"https://api.github.com/users/auraphp/events{/privacy}","received_events_url":"https://api.github.com/users/auraphp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/auraphp/Aura.SqlQuery","description":"Independent query builders for MySQL, PostgreSQL, SQLite, and Microsoft SQL Server.","fork":false,"url":"https://api.github.com/repos/auraphp/Aura.SqlQuery","forks_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/forks","keys_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/teams","hooks_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/hooks","issue_events_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/issues/events{/number}","events_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/events","assignees_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/assignees{/user}","branches_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/branches{/branch}","tags_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/tags","blobs_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/git/refs{/sha}","trees_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/statuses/{sha}","languages_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/languages","stargazers_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/stargazers","contributors_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/contributors","subscribers_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/subscribers","subscription_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/subscription","commits_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/commits{/sha}","git_commits_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/git/commits{/sha}","comments_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/comments{/number}","issue_comment_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/issues/comments{/number}","contents_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/contents/{+path}","compare_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/merges","archive_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/downloads","issues_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/issues{/number}","pulls_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/pulls{/number}","milestones_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/milestones{/number}","notifications_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/labels{/name}","releases_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/releases{/id}","deployments_url":"https://api.github.com/repos/auraphp/Aura.SqlQuery/deployments","created_at":"2013-09-27T18:08:03Z","updated_at":"2016-12-28T05:28:32Z","pushed_at":"2016-12-30T08:41:41Z","git_url":"git://github.com/auraphp/Aura.SqlQuery.git","ssh_url":"git@github.com:auraphp/Aura.SqlQuery.git","clone_url":"https://github.com/auraphp/Aura.SqlQuery.git","svn_url":"https://github.com/auraphp/Aura.SqlQuery","homepage":null,"size":920,"stargazers_count":198,"watchers_count":198,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":52,"mirror_url":null,"open_issues_count":7,"forks":52,"open_issues":7,"watchers":198,"default_branch":"2.x"}},"_links":{"self":{"href":"https://api.github.com/repos/auraphp/Aura.SqlQuery/pulls/111"},"html":{"href":"https://github.com/auraphp/Aura.SqlQuery/pull/111"},"issue":{"href":"https://api.github.com/repos/auraphp/Aura.SqlQuery/issues/111"},"comments":{"href":"https://api.github.com/repos/auraphp/Aura.SqlQuery/issues/111/comments"},"review_comments":{"href":"https://api.github.com/repos/auraphp/Aura.SqlQuery/pulls/111/comments"},"review_comment":{"href":"https://api.github.com/repos/auraphp/Aura.SqlQuery/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/auraphp/Aura.SqlQuery/pulls/111/commits"},"statuses":{"href":"https://api.github.com/repos/auraphp/Aura.SqlQuery/statuses/417909c1d223abf7e4ca3d371718b1e41ec81bb4"}}}}
{"actor":{"display_login":"harikt"}}