{"action":"opened","number":1110,"pull_request":{"url":"https://api.github.com/repos/brianc/node-postgres/pulls/1110","id":81221346,"html_url":"https://github.com/brianc/node-postgres/pull/1110","diff_url":"https://github.com/brianc/node-postgres/pull/1110.diff","patch_url":"https://github.com/brianc/node-postgres/pull/1110.patch","issue_url":"https://api.github.com/repos/brianc/node-postgres/issues/1110","number":1110,"state":"open","locked":false,"title":"Multiple-statement Support","user":{"login":"abacigil","id":759174,"avatar_url":"https://avatars.githubusercontent.com/u/759174?v=3","gravatar_id":"","url":"https://api.github.com/users/abacigil","html_url":"https://github.com/abacigil","followers_url":"https://api.github.com/users/abacigil/followers","following_url":"https://api.github.com/users/abacigil/following{/other_user}","gists_url":"https://api.github.com/users/abacigil/gists{/gist_id}","starred_url":"https://api.github.com/users/abacigil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abacigil/subscriptions","organizations_url":"https://api.github.com/users/abacigil/orgs","repos_url":"https://api.github.com/users/abacigil/repos","events_url":"https://api.github.com/users/abacigil/events{/privacy}","received_events_url":"https://api.github.com/users/abacigil/received_events","type":"User","site_admin":false},"body":"# Adjustment of result object for multiple statements\t\r\n        - If you query multiple statements, current lib does not support and it returns wrong results in result object.\r\n\t- Now it supports multiple statements and it returns \"result\" object as an array and this array has Result object for each statement that requested in query.\r\n\t- Example for multiple statement : SELECT * FROM users;select * from events;update users set id = 1 where id = 1\r\n\t- If you set \"multipleStatementResult\" to \"true\" in connection configuration object, this feature will be enabled, otherwise nothing will change, same functionality of \t\toriginal one will be executed.\r\n\t- Tested with SELECT, UPDATE, DELETE and INSERT\r\n\r\n# Simple example\r\n\t- An example for multiple statements is available in \"sample\" folder.","created_at":"2016-08-13T17:31:54Z","updated_at":"2016-08-13T17:31:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/brianc/node-postgres/pulls/1110/commits","review_comments_url":"https://api.github.com/repos/brianc/node-postgres/pulls/1110/comments","review_comment_url":"https://api.github.com/repos/brianc/node-postgres/pulls/comments{/number}","comments_url":"https://api.github.com/repos/brianc/node-postgres/issues/1110/comments","statuses_url":"https://api.github.com/repos/brianc/node-postgres/statuses/f3f6d4e68f6e369cb3883f7ba5c8fcaca7ef97bc","head":{"label":"abacigil:multiple-statement-results","ref":"multiple-statement-results","sha":"f3f6d4e68f6e369cb3883f7ba5c8fcaca7ef97bc","user":{"login":"abacigil","id":759174,"avatar_url":"https://avatars.githubusercontent.com/u/759174?v=3","gravatar_id":"","url":"https://api.github.com/users/abacigil","html_url":"https://github.com/abacigil","followers_url":"https://api.github.com/users/abacigil/followers","following_url":"https://api.github.com/users/abacigil/following{/other_user}","gists_url":"https://api.github.com/users/abacigil/gists{/gist_id}","starred_url":"https://api.github.com/users/abacigil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abacigil/subscriptions","organizations_url":"https://api.github.com/users/abacigil/orgs","repos_url":"https://api.github.com/users/abacigil/repos","events_url":"https://api.github.com/users/abacigil/events{/privacy}","received_events_url":"https://api.github.com/users/abacigil/received_events","type":"User","site_admin":false},"repo":{"id":65615507,"name":"node-postgres","full_name":"abacigil/node-postgres","owner":{"login":"abacigil","id":759174,"avatar_url":"https://avatars.githubusercontent.com/u/759174?v=3","gravatar_id":"","url":"https://api.github.com/users/abacigil","html_url":"https://github.com/abacigil","followers_url":"https://api.github.com/users/abacigil/followers","following_url":"https://api.github.com/users/abacigil/following{/other_user}","gists_url":"https://api.github.com/users/abacigil/gists{/gist_id}","starred_url":"https://api.github.com/users/abacigil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abacigil/subscriptions","organizations_url":"https://api.github.com/users/abacigil/orgs","repos_url":"https://api.github.com/users/abacigil/repos","events_url":"https://api.github.com/users/abacigil/events{/privacy}","received_events_url":"https://api.github.com/users/abacigil/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/abacigil/node-postgres","description":"PostgreSQL client for node.js.","fork":true,"url":"https://api.github.com/repos/abacigil/node-postgres","forks_url":"https://api.github.com/repos/abacigil/node-postgres/forks","keys_url":"https://api.github.com/repos/abacigil/node-postgres/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abacigil/node-postgres/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abacigil/node-postgres/teams","hooks_url":"https://api.github.com/repos/abacigil/node-postgres/hooks","issue_events_url":"https://api.github.com/repos/abacigil/node-postgres/issues/events{/number}","events_url":"https://api.github.com/repos/abacigil/node-postgres/events","assignees_url":"https://api.github.com/repos/abacigil/node-postgres/assignees{/user}","branches_url":"https://api.github.com/repos/abacigil/node-postgres/branches{/branch}","tags_url":"https://api.github.com/repos/abacigil/node-postgres/tags","blobs_url":"https://api.github.com/repos/abacigil/node-postgres/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abacigil/node-postgres/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abacigil/node-postgres/git/refs{/sha}","trees_url":"https://api.github.com/repos/abacigil/node-postgres/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abacigil/node-postgres/statuses/{sha}","languages_url":"https://api.github.com/repos/abacigil/node-postgres/languages","stargazers_url":"https://api.github.com/repos/abacigil/node-postgres/stargazers","contributors_url":"https://api.github.com/repos/abacigil/node-postgres/contributors","subscribers_url":"https://api.github.com/repos/abacigil/node-postgres/subscribers","subscription_url":"https://api.github.com/repos/abacigil/node-postgres/subscription","commits_url":"https://api.github.com/repos/abacigil/node-postgres/commits{/sha}","git_commits_url":"https://api.github.com/repos/abacigil/node-postgres/git/commits{/sha}","comments_url":"https://api.github.com/repos/abacigil/node-postgres/comments{/number}","issue_comment_url":"https://api.github.com/repos/abacigil/node-postgres/issues/comments{/number}","contents_url":"https://api.github.com/repos/abacigil/node-postgres/contents/{+path}","compare_url":"https://api.github.com/repos/abacigil/node-postgres/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abacigil/node-postgres/merges","archive_url":"https://api.github.com/repos/abacigil/node-postgres/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abacigil/node-postgres/downloads","issues_url":"https://api.github.com/repos/abacigil/node-postgres/issues{/number}","pulls_url":"https://api.github.com/repos/abacigil/node-postgres/pulls{/number}","milestones_url":"https://api.github.com/repos/abacigil/node-postgres/milestones{/number}","notifications_url":"https://api.github.com/repos/abacigil/node-postgres/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abacigil/node-postgres/labels{/name}","releases_url":"https://api.github.com/repos/abacigil/node-postgres/releases{/id}","deployments_url":"https://api.github.com/repos/abacigil/node-postgres/deployments","created_at":"2016-08-13T12:09:09Z","updated_at":"2016-08-13T12:09:11Z","pushed_at":"2016-08-13T17:30:39Z","git_url":"git://github.com/abacigil/node-postgres.git","ssh_url":"git@github.com:abacigil/node-postgres.git","clone_url":"https://github.com/abacigil/node-postgres.git","svn_url":"https://github.com/abacigil/node-postgres","homepage":"","size":2787,"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":"brianc:master","ref":"master","sha":"42689dac11a199d4c93dda7f219efbb2b0a830e4","user":{"login":"brianc","id":50081,"avatar_url":"https://avatars.githubusercontent.com/u/50081?v=3","gravatar_id":"","url":"https://api.github.com/users/brianc","html_url":"https://github.com/brianc","followers_url":"https://api.github.com/users/brianc/followers","following_url":"https://api.github.com/users/brianc/following{/other_user}","gists_url":"https://api.github.com/users/brianc/gists{/gist_id}","starred_url":"https://api.github.com/users/brianc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianc/subscriptions","organizations_url":"https://api.github.com/users/brianc/orgs","repos_url":"https://api.github.com/users/brianc/repos","events_url":"https://api.github.com/users/brianc/events{/privacy}","received_events_url":"https://api.github.com/users/brianc/received_events","type":"User","site_admin":false},"repo":{"id":991475,"name":"node-postgres","full_name":"brianc/node-postgres","owner":{"login":"brianc","id":50081,"avatar_url":"https://avatars.githubusercontent.com/u/50081?v=3","gravatar_id":"","url":"https://api.github.com/users/brianc","html_url":"https://github.com/brianc","followers_url":"https://api.github.com/users/brianc/followers","following_url":"https://api.github.com/users/brianc/following{/other_user}","gists_url":"https://api.github.com/users/brianc/gists{/gist_id}","starred_url":"https://api.github.com/users/brianc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianc/subscriptions","organizations_url":"https://api.github.com/users/brianc/orgs","repos_url":"https://api.github.com/users/brianc/repos","events_url":"https://api.github.com/users/brianc/events{/privacy}","received_events_url":"https://api.github.com/users/brianc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brianc/node-postgres","description":"PostgreSQL client for node.js.","fork":false,"url":"https://api.github.com/repos/brianc/node-postgres","forks_url":"https://api.github.com/repos/brianc/node-postgres/forks","keys_url":"https://api.github.com/repos/brianc/node-postgres/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brianc/node-postgres/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brianc/node-postgres/teams","hooks_url":"https://api.github.com/repos/brianc/node-postgres/hooks","issue_events_url":"https://api.github.com/repos/brianc/node-postgres/issues/events{/number}","events_url":"https://api.github.com/repos/brianc/node-postgres/events","assignees_url":"https://api.github.com/repos/brianc/node-postgres/assignees{/user}","branches_url":"https://api.github.com/repos/brianc/node-postgres/branches{/branch}","tags_url":"https://api.github.com/repos/brianc/node-postgres/tags","blobs_url":"https://api.github.com/repos/brianc/node-postgres/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brianc/node-postgres/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brianc/node-postgres/git/refs{/sha}","trees_url":"https://api.github.com/repos/brianc/node-postgres/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brianc/node-postgres/statuses/{sha}","languages_url":"https://api.github.com/repos/brianc/node-postgres/languages","stargazers_url":"https://api.github.com/repos/brianc/node-postgres/stargazers","contributors_url":"https://api.github.com/repos/brianc/node-postgres/contributors","subscribers_url":"https://api.github.com/repos/brianc/node-postgres/subscribers","subscription_url":"https://api.github.com/repos/brianc/node-postgres/subscription","commits_url":"https://api.github.com/repos/brianc/node-postgres/commits{/sha}","git_commits_url":"https://api.github.com/repos/brianc/node-postgres/git/commits{/sha}","comments_url":"https://api.github.com/repos/brianc/node-postgres/comments{/number}","issue_comment_url":"https://api.github.com/repos/brianc/node-postgres/issues/comments{/number}","contents_url":"https://api.github.com/repos/brianc/node-postgres/contents/{+path}","compare_url":"https://api.github.com/repos/brianc/node-postgres/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brianc/node-postgres/merges","archive_url":"https://api.github.com/repos/brianc/node-postgres/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brianc/node-postgres/downloads","issues_url":"https://api.github.com/repos/brianc/node-postgres/issues{/number}","pulls_url":"https://api.github.com/repos/brianc/node-postgres/pulls{/number}","milestones_url":"https://api.github.com/repos/brianc/node-postgres/milestones{/number}","notifications_url":"https://api.github.com/repos/brianc/node-postgres/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brianc/node-postgres/labels{/name}","releases_url":"https://api.github.com/repos/brianc/node-postgres/releases{/id}","deployments_url":"https://api.github.com/repos/brianc/node-postgres/deployments","created_at":"2010-10-15T23:05:50Z","updated_at":"2016-08-13T01:41:20Z","pushed_at":"2016-08-11T15:18:26Z","git_url":"git://github.com/brianc/node-postgres.git","ssh_url":"git@github.com:brianc/node-postgres.git","clone_url":"https://github.com/brianc/node-postgres.git","svn_url":"https://github.com/brianc/node-postgres","homepage":"","size":2787,"stargazers_count":3718,"watchers_count":3718,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":481,"mirror_url":null,"open_issues_count":159,"forks":481,"open_issues":159,"watchers":3718,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/brianc/node-postgres/pulls/1110"},"html":{"href":"https://github.com/brianc/node-postgres/pull/1110"},"issue":{"href":"https://api.github.com/repos/brianc/node-postgres/issues/1110"},"comments":{"href":"https://api.github.com/repos/brianc/node-postgres/issues/1110/comments"},"review_comments":{"href":"https://api.github.com/repos/brianc/node-postgres/pulls/1110/comments"},"review_comment":{"href":"https://api.github.com/repos/brianc/node-postgres/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/brianc/node-postgres/pulls/1110/commits"},"statuses":{"href":"https://api.github.com/repos/brianc/node-postgres/statuses/f3f6d4e68f6e369cb3883f7ba5c8fcaca7ef97bc"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":113,"deletions":44,"changed_files":5}}
{"actor":{"display_login":"abacigil"}}