{"action":"opened","number":89,"pull_request":{"url":"https://api.github.com/repos/CSNW/sql-bricks/pulls/89","id":84651170,"html_url":"https://github.com/CSNW/sql-bricks/pull/89","diff_url":"https://github.com/CSNW/sql-bricks/pull/89.diff","patch_url":"https://github.com/CSNW/sql-bricks/pull/89.patch","issue_url":"https://api.github.com/repos/CSNW/sql-bricks/issues/89","number":89,"state":"open","locked":false,"title":"Hi! Can you merge these 2 fixes?","user":{"login":"vitalif","id":945339,"avatar_url":"https://avatars.githubusercontent.com/u/945339?v=3","gravatar_id":"","url":"https://api.github.com/users/vitalif","html_url":"https://github.com/vitalif","followers_url":"https://api.github.com/users/vitalif/followers","following_url":"https://api.github.com/users/vitalif/following{/other_user}","gists_url":"https://api.github.com/users/vitalif/gists{/gist_id}","starred_url":"https://api.github.com/users/vitalif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitalif/subscriptions","organizations_url":"https://api.github.com/users/vitalif/orgs","repos_url":"https://api.github.com/users/vitalif/repos","events_url":"https://api.github.com/users/vitalif/events{/privacy}","received_events_url":"https://api.github.com/users/vitalif/received_events","type":"User","site_admin":false},"body":"1) Change default placeholder for expression parts (my previous pull-request) to be also $%d\r\n2) Fix .toString() parameter replacer (I think `select().from('tbl').where(or(sql('a = $1', 444), sql('b = $1', 555)))` should be `SELECT * FROM tbl WHERE a = $1 OR b = $2`, not `SELECT * FROM tbl WHERE a = $1 OR b = $1`)\r\n3) Fix merging parameterized sub-expressions (`sql('a = ?', 1).toString({placeholder: '?'})` now crashes, and also does not work with $%d)","created_at":"2016-09-09T13:32:18Z","updated_at":"2016-09-09T13:32:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e799aa0faa5071f9e783c0fe87b0e56de26cafc4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/CSNW/sql-bricks/pulls/89/commits","review_comments_url":"https://api.github.com/repos/CSNW/sql-bricks/pulls/89/comments","review_comment_url":"https://api.github.com/repos/CSNW/sql-bricks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CSNW/sql-bricks/issues/89/comments","statuses_url":"https://api.github.com/repos/CSNW/sql-bricks/statuses/659b9f82ff272c5c5e8e2f20b65f740bbd798b14","head":{"label":"vitalif:master","ref":"master","sha":"659b9f82ff272c5c5e8e2f20b65f740bbd798b14","user":{"login":"vitalif","id":945339,"avatar_url":"https://avatars.githubusercontent.com/u/945339?v=3","gravatar_id":"","url":"https://api.github.com/users/vitalif","html_url":"https://github.com/vitalif","followers_url":"https://api.github.com/users/vitalif/followers","following_url":"https://api.github.com/users/vitalif/following{/other_user}","gists_url":"https://api.github.com/users/vitalif/gists{/gist_id}","starred_url":"https://api.github.com/users/vitalif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitalif/subscriptions","organizations_url":"https://api.github.com/users/vitalif/orgs","repos_url":"https://api.github.com/users/vitalif/repos","events_url":"https://api.github.com/users/vitalif/events{/privacy}","received_events_url":"https://api.github.com/users/vitalif/received_events","type":"User","site_admin":false},"repo":{"id":67799191,"name":"sql-bricks","full_name":"vitalif/sql-bricks","owner":{"login":"vitalif","id":945339,"avatar_url":"https://avatars.githubusercontent.com/u/945339?v=3","gravatar_id":"","url":"https://api.github.com/users/vitalif","html_url":"https://github.com/vitalif","followers_url":"https://api.github.com/users/vitalif/followers","following_url":"https://api.github.com/users/vitalif/following{/other_user}","gists_url":"https://api.github.com/users/vitalif/gists{/gist_id}","starred_url":"https://api.github.com/users/vitalif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitalif/subscriptions","organizations_url":"https://api.github.com/users/vitalif/orgs","repos_url":"https://api.github.com/users/vitalif/repos","events_url":"https://api.github.com/users/vitalif/events{/privacy}","received_events_url":"https://api.github.com/users/vitalif/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vitalif/sql-bricks","description":"Transparent, Schemaless SQL Generation","fork":true,"url":"https://api.github.com/repos/vitalif/sql-bricks","forks_url":"https://api.github.com/repos/vitalif/sql-bricks/forks","keys_url":"https://api.github.com/repos/vitalif/sql-bricks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vitalif/sql-bricks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vitalif/sql-bricks/teams","hooks_url":"https://api.github.com/repos/vitalif/sql-bricks/hooks","issue_events_url":"https://api.github.com/repos/vitalif/sql-bricks/issues/events{/number}","events_url":"https://api.github.com/repos/vitalif/sql-bricks/events","assignees_url":"https://api.github.com/repos/vitalif/sql-bricks/assignees{/user}","branches_url":"https://api.github.com/repos/vitalif/sql-bricks/branches{/branch}","tags_url":"https://api.github.com/repos/vitalif/sql-bricks/tags","blobs_url":"https://api.github.com/repos/vitalif/sql-bricks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vitalif/sql-bricks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vitalif/sql-bricks/git/refs{/sha}","trees_url":"https://api.github.com/repos/vitalif/sql-bricks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vitalif/sql-bricks/statuses/{sha}","languages_url":"https://api.github.com/repos/vitalif/sql-bricks/languages","stargazers_url":"https://api.github.com/repos/vitalif/sql-bricks/stargazers","contributors_url":"https://api.github.com/repos/vitalif/sql-bricks/contributors","subscribers_url":"https://api.github.com/repos/vitalif/sql-bricks/subscribers","subscription_url":"https://api.github.com/repos/vitalif/sql-bricks/subscription","commits_url":"https://api.github.com/repos/vitalif/sql-bricks/commits{/sha}","git_commits_url":"https://api.github.com/repos/vitalif/sql-bricks/git/commits{/sha}","comments_url":"https://api.github.com/repos/vitalif/sql-bricks/comments{/number}","issue_comment_url":"https://api.github.com/repos/vitalif/sql-bricks/issues/comments{/number}","contents_url":"https://api.github.com/repos/vitalif/sql-bricks/contents/{+path}","compare_url":"https://api.github.com/repos/vitalif/sql-bricks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vitalif/sql-bricks/merges","archive_url":"https://api.github.com/repos/vitalif/sql-bricks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vitalif/sql-bricks/downloads","issues_url":"https://api.github.com/repos/vitalif/sql-bricks/issues{/number}","pulls_url":"https://api.github.com/repos/vitalif/sql-bricks/pulls{/number}","milestones_url":"https://api.github.com/repos/vitalif/sql-bricks/milestones{/number}","notifications_url":"https://api.github.com/repos/vitalif/sql-bricks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vitalif/sql-bricks/labels{/name}","releases_url":"https://api.github.com/repos/vitalif/sql-bricks/releases{/id}","deployments_url":"https://api.github.com/repos/vitalif/sql-bricks/deployments","created_at":"2016-09-09T12:59:40Z","updated_at":"2016-09-09T12:59:41Z","pushed_at":"2016-09-09T13:30:53Z","git_url":"git://github.com/vitalif/sql-bricks.git","ssh_url":"git@github.com:vitalif/sql-bricks.git","clone_url":"https://github.com/vitalif/sql-bricks.git","svn_url":"https://github.com/vitalif/sql-bricks","homepage":"http://csnw.github.io/sql-bricks","size":387,"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":"CSNW:master","ref":"master","sha":"228d943c605a223f66272254579081b5945c45f4","user":{"login":"CSNW","id":768904,"avatar_url":"https://avatars.githubusercontent.com/u/768904?v=3","gravatar_id":"","url":"https://api.github.com/users/CSNW","html_url":"https://github.com/CSNW","followers_url":"https://api.github.com/users/CSNW/followers","following_url":"https://api.github.com/users/CSNW/following{/other_user}","gists_url":"https://api.github.com/users/CSNW/gists{/gist_id}","starred_url":"https://api.github.com/users/CSNW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CSNW/subscriptions","organizations_url":"https://api.github.com/users/CSNW/orgs","repos_url":"https://api.github.com/users/CSNW/repos","events_url":"https://api.github.com/users/CSNW/events{/privacy}","received_events_url":"https://api.github.com/users/CSNW/received_events","type":"Organization","site_admin":false},"repo":{"id":13256554,"name":"sql-bricks","full_name":"CSNW/sql-bricks","owner":{"login":"CSNW","id":768904,"avatar_url":"https://avatars.githubusercontent.com/u/768904?v=3","gravatar_id":"","url":"https://api.github.com/users/CSNW","html_url":"https://github.com/CSNW","followers_url":"https://api.github.com/users/CSNW/followers","following_url":"https://api.github.com/users/CSNW/following{/other_user}","gists_url":"https://api.github.com/users/CSNW/gists{/gist_id}","starred_url":"https://api.github.com/users/CSNW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CSNW/subscriptions","organizations_url":"https://api.github.com/users/CSNW/orgs","repos_url":"https://api.github.com/users/CSNW/repos","events_url":"https://api.github.com/users/CSNW/events{/privacy}","received_events_url":"https://api.github.com/users/CSNW/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CSNW/sql-bricks","description":"Transparent, Schemaless SQL Generation","fork":false,"url":"https://api.github.com/repos/CSNW/sql-bricks","forks_url":"https://api.github.com/repos/CSNW/sql-bricks/forks","keys_url":"https://api.github.com/repos/CSNW/sql-bricks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CSNW/sql-bricks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CSNW/sql-bricks/teams","hooks_url":"https://api.github.com/repos/CSNW/sql-bricks/hooks","issue_events_url":"https://api.github.com/repos/CSNW/sql-bricks/issues/events{/number}","events_url":"https://api.github.com/repos/CSNW/sql-bricks/events","assignees_url":"https://api.github.com/repos/CSNW/sql-bricks/assignees{/user}","branches_url":"https://api.github.com/repos/CSNW/sql-bricks/branches{/branch}","tags_url":"https://api.github.com/repos/CSNW/sql-bricks/tags","blobs_url":"https://api.github.com/repos/CSNW/sql-bricks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CSNW/sql-bricks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CSNW/sql-bricks/git/refs{/sha}","trees_url":"https://api.github.com/repos/CSNW/sql-bricks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CSNW/sql-bricks/statuses/{sha}","languages_url":"https://api.github.com/repos/CSNW/sql-bricks/languages","stargazers_url":"https://api.github.com/repos/CSNW/sql-bricks/stargazers","contributors_url":"https://api.github.com/repos/CSNW/sql-bricks/contributors","subscribers_url":"https://api.github.com/repos/CSNW/sql-bricks/subscribers","subscription_url":"https://api.github.com/repos/CSNW/sql-bricks/subscription","commits_url":"https://api.github.com/repos/CSNW/sql-bricks/commits{/sha}","git_commits_url":"https://api.github.com/repos/CSNW/sql-bricks/git/commits{/sha}","comments_url":"https://api.github.com/repos/CSNW/sql-bricks/comments{/number}","issue_comment_url":"https://api.github.com/repos/CSNW/sql-bricks/issues/comments{/number}","contents_url":"https://api.github.com/repos/CSNW/sql-bricks/contents/{+path}","compare_url":"https://api.github.com/repos/CSNW/sql-bricks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CSNW/sql-bricks/merges","archive_url":"https://api.github.com/repos/CSNW/sql-bricks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CSNW/sql-bricks/downloads","issues_url":"https://api.github.com/repos/CSNW/sql-bricks/issues{/number}","pulls_url":"https://api.github.com/repos/CSNW/sql-bricks/pulls{/number}","milestones_url":"https://api.github.com/repos/CSNW/sql-bricks/milestones{/number}","notifications_url":"https://api.github.com/repos/CSNW/sql-bricks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CSNW/sql-bricks/labels{/name}","releases_url":"https://api.github.com/repos/CSNW/sql-bricks/releases{/id}","deployments_url":"https://api.github.com/repos/CSNW/sql-bricks/deployments","created_at":"2013-10-01T21:44:33Z","updated_at":"2016-08-24T21:40:11Z","pushed_at":"2016-09-09T13:32:18Z","git_url":"git://github.com/CSNW/sql-bricks.git","ssh_url":"git@github.com:CSNW/sql-bricks.git","clone_url":"https://github.com/CSNW/sql-bricks.git","svn_url":"https://github.com/CSNW/sql-bricks","homepage":"http://csnw.github.io/sql-bricks","size":387,"stargazers_count":54,"watchers_count":54,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":9,"forks":7,"open_issues":9,"watchers":54,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CSNW/sql-bricks/pulls/89"},"html":{"href":"https://github.com/CSNW/sql-bricks/pull/89"},"issue":{"href":"https://api.github.com/repos/CSNW/sql-bricks/issues/89"},"comments":{"href":"https://api.github.com/repos/CSNW/sql-bricks/issues/89/comments"},"review_comments":{"href":"https://api.github.com/repos/CSNW/sql-bricks/pulls/89/comments"},"review_comment":{"href":"https://api.github.com/repos/CSNW/sql-bricks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CSNW/sql-bricks/pulls/89/commits"},"statuses":{"href":"https://api.github.com/repos/CSNW/sql-bricks/statuses/659b9f82ff272c5c5e8e2f20b65f740bbd798b14"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":21,"deletions":4,"changed_files":2}}
{"actor":{"display_login":"vitalif"}}