{"action":"closed","number":85,"pull_request":{"url":"https://api.github.com/repos/mtxr/vscode-sqltools/pulls/85","id":186625576,"node_id":"MDExOlB1bGxSZXF1ZXN0MTg2NjI1NTc2","html_url":"https://github.com/mtxr/vscode-sqltools/pull/85","diff_url":"https://github.com/mtxr/vscode-sqltools/pull/85.diff","patch_url":"https://github.com/mtxr/vscode-sqltools/pull/85.patch","issue_url":"https://api.github.com/repos/mtxr/vscode-sqltools/issues/85","number":85,"state":"closed","locked":false,"title":"Create oracle.ts","user":{"login":"Danieleeee","id":22749175,"node_id":"MDQ6VXNlcjIyNzQ5MTc1","avatar_url":"https://avatars0.githubusercontent.com/u/22749175?v=4","gravatar_id":"","url":"https://api.github.com/users/Danieleeee","html_url":"https://github.com/Danieleeee","followers_url":"https://api.github.com/users/Danieleeee/followers","following_url":"https://api.github.com/users/Danieleeee/following{/other_user}","gists_url":"https://api.github.com/users/Danieleeee/gists{/gist_id}","starred_url":"https://api.github.com/users/Danieleeee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Danieleeee/subscriptions","organizations_url":"https://api.github.com/users/Danieleeee/orgs","repos_url":"https://api.github.com/users/Danieleeee/repos","events_url":"https://api.github.com/users/Danieleeee/events{/privacy}","received_events_url":"https://api.github.com/users/Danieleeee/received_events","type":"User","site_admin":false},"body":"For connection use:\r\nconst getConnection = env => {\r\n    if (_pool[env]) {\r\n        return _pool[env].getConnection();\r\n    }\r\n    return oracledb\r\n        .createPool({\r\n        user: dbConfig[env].user,\r\n        password: dbConfig[env].password,\r\n        connectString: dbConfig[env].connectString\r\n    })\r\n        .then(newPool => {\r\n        _pool[env] = newPool;\r\n        return _pool[env].getConnection();\r\n    });\r\n};\r\n\r\ndefine output format so:\r\noracledb.outFormat = oracledb.ARRAY;\r\nor\r\noracledb.outFormat = oracledb.OBJECT;","created_at":"2018-05-08T12:56:55Z","updated_at":"2018-06-06T11:29:05Z","closed_at":"2018-06-06T11:29:05Z","merged_at":null,"merge_commit_sha":"591747ed2872f72dc7ab9d045c07732c21e5cb60","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mtxr/vscode-sqltools/pulls/85/commits","review_comments_url":"https://api.github.com/repos/mtxr/vscode-sqltools/pulls/85/comments","review_comment_url":"https://api.github.com/repos/mtxr/vscode-sqltools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mtxr/vscode-sqltools/issues/85/comments","statuses_url":"https://api.github.com/repos/mtxr/vscode-sqltools/statuses/919765d87c703a01031cff93301f181a507c31da","head":{"label":"Danieleeee:patch-5","ref":"patch-5","sha":"919765d87c703a01031cff93301f181a507c31da","user":{"login":"Danieleeee","id":22749175,"node_id":"MDQ6VXNlcjIyNzQ5MTc1","avatar_url":"https://avatars0.githubusercontent.com/u/22749175?v=4","gravatar_id":"","url":"https://api.github.com/users/Danieleeee","html_url":"https://github.com/Danieleeee","followers_url":"https://api.github.com/users/Danieleeee/followers","following_url":"https://api.github.com/users/Danieleeee/following{/other_user}","gists_url":"https://api.github.com/users/Danieleeee/gists{/gist_id}","starred_url":"https://api.github.com/users/Danieleeee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Danieleeee/subscriptions","organizations_url":"https://api.github.com/users/Danieleeee/orgs","repos_url":"https://api.github.com/users/Danieleeee/repos","events_url":"https://api.github.com/users/Danieleeee/events{/privacy}","received_events_url":"https://api.github.com/users/Danieleeee/received_events","type":"User","site_admin":false},"repo":{"id":131847275,"node_id":"MDEwOlJlcG9zaXRvcnkxMzE4NDcyNzU=","name":"vscode-sqltools","full_name":"Danieleeee/vscode-sqltools","owner":{"login":"Danieleeee","id":22749175,"node_id":"MDQ6VXNlcjIyNzQ5MTc1","avatar_url":"https://avatars0.githubusercontent.com/u/22749175?v=4","gravatar_id":"","url":"https://api.github.com/users/Danieleeee","html_url":"https://github.com/Danieleeee","followers_url":"https://api.github.com/users/Danieleeee/followers","following_url":"https://api.github.com/users/Danieleeee/following{/other_user}","gists_url":"https://api.github.com/users/Danieleeee/gists{/gist_id}","starred_url":"https://api.github.com/users/Danieleeee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Danieleeee/subscriptions","organizations_url":"https://api.github.com/users/Danieleeee/orgs","repos_url":"https://api.github.com/users/Danieleeee/repos","events_url":"https://api.github.com/users/Danieleeee/events{/privacy}","received_events_url":"https://api.github.com/users/Danieleeee/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Danieleeee/vscode-sqltools","description":"SQLTools for VSCode","fork":true,"url":"https://api.github.com/repos/Danieleeee/vscode-sqltools","forks_url":"https://api.github.com/repos/Danieleeee/vscode-sqltools/forks","keys_url":"https://api.github.com/repos/Danieleeee/vscode-sqltools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Danieleeee/vscode-sqltools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Danieleeee/vscode-sqltools/teams","hooks_url":"https://api.github.com/repos/Danieleeee/vscode-sqltools/hooks","issue_events_url":"https://api.github.com/repos/Danieleeee/vscode-sqltools/issues/events{/number}","events_url":"https://api.github.com/repos/Danieleeee/vscode-sqltools/events","assignees_url":"https://api.github.com/repos/Danieleeee/vscode-sqltools/assignees{/user}","branches_url":"https://api.github.com/repos/Danieleeee/vscode-sqltools/branches{/branch}","tags_url":"https://api.github.com/repos/Danieleeee/vscode-sqltools/tags","blobs_url":"https://api.github.com/repos/Danieleeee/vscode-sqltools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Danieleeee/vscode-sqltools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Danieleeee/vscode-sqltools/git/refs{/sha}","trees_url":"https://api.github.com/repos/Danieleeee/vscode-sqltools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Danieleeee/vscode-sqltools/statuses/{sha}","languages_url":"https://api.github.com/repos/Danieleeee/vscode-sqltools/languages","stargazers_url":"https://api.github.com/repos/Danieleeee/vscode-sqltools/stargazers","contributors_url":"https://api.github.com/repos/Danieleeee/vscode-sqltools/contributors","subscribers_url":"https://api.github.com/repos/Danieleeee/vscode-sqltools/subscribers","subscription_url":"https://api.github.com/repos/Danieleeee/vscode-sqltools/subscription","commits_url":"https://api.github.com/repos/Danieleeee/vscode-sqltools/commits{/sha}","git_commits_url":"https://api.github.com/repos/Danieleeee/vscode-sqltools/git/commits{/sha}","comments_url":"https://api.github.com/repos/Danieleeee/vscode-sqltools/comments{/number}","issue_comment_url":"https://api.github.com/repos/Danieleeee/vscode-sqltools/issues/comments{/number}","contents_url":"https://api.github.com/repos/Danieleeee/vscode-sqltools/contents/{+path}","compare_url":"https://api.github.com/repos/Danieleeee/vscode-sqltools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Danieleeee/vscode-sqltools/merges","archive_url":"https://api.github.com/repos/Danieleeee/vscode-sqltools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Danieleeee/vscode-sqltools/downloads","issues_url":"https://api.github.com/repos/Danieleeee/vscode-sqltools/issues{/number}","pulls_url":"https://api.github.com/repos/Danieleeee/vscode-sqltools/pulls{/number}","milestones_url":"https://api.github.com/repos/Danieleeee/vscode-sqltools/milestones{/number}","notifications_url":"https://api.github.com/repos/Danieleeee/vscode-sqltools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Danieleeee/vscode-sqltools/labels{/name}","releases_url":"https://api.github.com/repos/Danieleeee/vscode-sqltools/releases{/id}","deployments_url":"https://api.github.com/repos/Danieleeee/vscode-sqltools/deployments","created_at":"2018-05-02T12:27:32Z","updated_at":"2018-05-02T12:27:34Z","pushed_at":"2018-05-10T13:19:46Z","git_url":"git://github.com/Danieleeee/vscode-sqltools.git","ssh_url":"git@github.com:Danieleeee/vscode-sqltools.git","clone_url":"https://github.com/Danieleeee/vscode-sqltools.git","svn_url":"https://github.com/Danieleeee/vscode-sqltools","homepage":"https://github.com/mtxr/vscode-sqltools/wiki","size":998,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mtxr:master","ref":"master","sha":"c0646aae83937b05db5ea443a8534f2af982eb10","user":{"login":"mtxr","id":707561,"node_id":"MDQ6VXNlcjcwNzU2MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/707561?v=4","gravatar_id":"","url":"https://api.github.com/users/mtxr","html_url":"https://github.com/mtxr","followers_url":"https://api.github.com/users/mtxr/followers","following_url":"https://api.github.com/users/mtxr/following{/other_user}","gists_url":"https://api.github.com/users/mtxr/gists{/gist_id}","starred_url":"https://api.github.com/users/mtxr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtxr/subscriptions","organizations_url":"https://api.github.com/users/mtxr/orgs","repos_url":"https://api.github.com/users/mtxr/repos","events_url":"https://api.github.com/users/mtxr/events{/privacy}","received_events_url":"https://api.github.com/users/mtxr/received_events","type":"User","site_admin":false},"repo":{"id":76520414,"node_id":"MDEwOlJlcG9zaXRvcnk3NjUyMDQxNA==","name":"vscode-sqltools","full_name":"mtxr/vscode-sqltools","owner":{"login":"mtxr","id":707561,"node_id":"MDQ6VXNlcjcwNzU2MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/707561?v=4","gravatar_id":"","url":"https://api.github.com/users/mtxr","html_url":"https://github.com/mtxr","followers_url":"https://api.github.com/users/mtxr/followers","following_url":"https://api.github.com/users/mtxr/following{/other_user}","gists_url":"https://api.github.com/users/mtxr/gists{/gist_id}","starred_url":"https://api.github.com/users/mtxr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtxr/subscriptions","organizations_url":"https://api.github.com/users/mtxr/orgs","repos_url":"https://api.github.com/users/mtxr/repos","events_url":"https://api.github.com/users/mtxr/events{/privacy}","received_events_url":"https://api.github.com/users/mtxr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mtxr/vscode-sqltools","description":"SQLTools for VSCode","fork":false,"url":"https://api.github.com/repos/mtxr/vscode-sqltools","forks_url":"https://api.github.com/repos/mtxr/vscode-sqltools/forks","keys_url":"https://api.github.com/repos/mtxr/vscode-sqltools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mtxr/vscode-sqltools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mtxr/vscode-sqltools/teams","hooks_url":"https://api.github.com/repos/mtxr/vscode-sqltools/hooks","issue_events_url":"https://api.github.com/repos/mtxr/vscode-sqltools/issues/events{/number}","events_url":"https://api.github.com/repos/mtxr/vscode-sqltools/events","assignees_url":"https://api.github.com/repos/mtxr/vscode-sqltools/assignees{/user}","branches_url":"https://api.github.com/repos/mtxr/vscode-sqltools/branches{/branch}","tags_url":"https://api.github.com/repos/mtxr/vscode-sqltools/tags","blobs_url":"https://api.github.com/repos/mtxr/vscode-sqltools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mtxr/vscode-sqltools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mtxr/vscode-sqltools/git/refs{/sha}","trees_url":"https://api.github.com/repos/mtxr/vscode-sqltools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mtxr/vscode-sqltools/statuses/{sha}","languages_url":"https://api.github.com/repos/mtxr/vscode-sqltools/languages","stargazers_url":"https://api.github.com/repos/mtxr/vscode-sqltools/stargazers","contributors_url":"https://api.github.com/repos/mtxr/vscode-sqltools/contributors","subscribers_url":"https://api.github.com/repos/mtxr/vscode-sqltools/subscribers","subscription_url":"https://api.github.com/repos/mtxr/vscode-sqltools/subscription","commits_url":"https://api.github.com/repos/mtxr/vscode-sqltools/commits{/sha}","git_commits_url":"https://api.github.com/repos/mtxr/vscode-sqltools/git/commits{/sha}","comments_url":"https://api.github.com/repos/mtxr/vscode-sqltools/comments{/number}","issue_comment_url":"https://api.github.com/repos/mtxr/vscode-sqltools/issues/comments{/number}","contents_url":"https://api.github.com/repos/mtxr/vscode-sqltools/contents/{+path}","compare_url":"https://api.github.com/repos/mtxr/vscode-sqltools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mtxr/vscode-sqltools/merges","archive_url":"https://api.github.com/repos/mtxr/vscode-sqltools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mtxr/vscode-sqltools/downloads","issues_url":"https://api.github.com/repos/mtxr/vscode-sqltools/issues{/number}","pulls_url":"https://api.github.com/repos/mtxr/vscode-sqltools/pulls{/number}","milestones_url":"https://api.github.com/repos/mtxr/vscode-sqltools/milestones{/number}","notifications_url":"https://api.github.com/repos/mtxr/vscode-sqltools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mtxr/vscode-sqltools/labels{/name}","releases_url":"https://api.github.com/repos/mtxr/vscode-sqltools/releases{/id}","deployments_url":"https://api.github.com/repos/mtxr/vscode-sqltools/deployments","created_at":"2016-12-15T03:27:00Z","updated_at":"2018-06-06T07:25:53Z","pushed_at":"2018-05-21T07:16:43Z","git_url":"git://github.com/mtxr/vscode-sqltools.git","ssh_url":"git@github.com:mtxr/vscode-sqltools.git","clone_url":"https://github.com/mtxr/vscode-sqltools.git","svn_url":"https://github.com/mtxr/vscode-sqltools","homepage":"https://github.com/mtxr/vscode-sqltools/wiki","size":1024,"stargazers_count":103,"watchers_count":103,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":15,"mirror_url":null,"archived":false,"open_issues_count":21,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":15,"open_issues":21,"watchers":103,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mtxr/vscode-sqltools/pulls/85"},"html":{"href":"https://github.com/mtxr/vscode-sqltools/pull/85"},"issue":{"href":"https://api.github.com/repos/mtxr/vscode-sqltools/issues/85"},"comments":{"href":"https://api.github.com/repos/mtxr/vscode-sqltools/issues/85/comments"},"review_comments":{"href":"https://api.github.com/repos/mtxr/vscode-sqltools/pulls/85/comments"},"review_comment":{"href":"https://api.github.com/repos/mtxr/vscode-sqltools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mtxr/vscode-sqltools/pulls/85/commits"},"statuses":{"href":"https://api.github.com/repos/mtxr/vscode-sqltools/statuses/919765d87c703a01031cff93301f181a507c31da"}},"author_association":"NONE","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":150,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"mtxr"}}