{"action":"created","issue":{"url":"https://api.github.com/repos/patriksimek/node-mssql/issues/118","labels_url":"https://api.github.com/repos/patriksimek/node-mssql/issues/118/labels{/name}","comments_url":"https://api.github.com/repos/patriksimek/node-mssql/issues/118/comments","events_url":"https://api.github.com/repos/patriksimek/node-mssql/issues/118/events","html_url":"https://github.com/patriksimek/node-mssql/issues/118","id":55820675,"number":118,"title":"clarify connection pooling","user":{"login":"tracker1","id":444316,"avatar_url":"https://avatars.githubusercontent.com/u/444316?v=3","gravatar_id":"","url":"https://api.github.com/users/tracker1","html_url":"https://github.com/tracker1","followers_url":"https://api.github.com/users/tracker1/followers","following_url":"https://api.github.com/users/tracker1/following{/other_user}","gists_url":"https://api.github.com/users/tracker1/gists{/gist_id}","starred_url":"https://api.github.com/users/tracker1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tracker1/subscriptions","organizations_url":"https://api.github.com/users/tracker1/orgs","repos_url":"https://api.github.com/users/tracker1/repos","events_url":"https://api.github.com/users/tracker1/events{/privacy}","received_events_url":"https://api.github.com/users/tracker1/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/patriksimek/node-mssql/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-01-28T21:47:44Z","updated_at":"2015-04-23T23:42:25Z","closed_at":null,"body":"Regarding connection pooling...  if I request a `new sql.Connection(cfg)` (more than once) will it return a connection from the same pool (based on cfg options), or will it create a new pool?\r\n\r\nRegarding v2 (Promises based) if the above isn't the behavior, could it be made to be the behavior internally?  I'm doing something similar to the following, but if I could just have the same connection from a pool, that would be awesome.\r\n\r\nhttps://gist.github.com/tracker1/5ad0bff295369ac05eea\r\n"},"comment":{"url":"https://api.github.com/repos/patriksimek/node-mssql/issues/comments/95749818","html_url":"https://github.com/patriksimek/node-mssql/issues/118#issuecomment-95749818","issue_url":"https://api.github.com/repos/patriksimek/node-mssql/issues/118","id":95749818,"user":{"login":"tracker1","id":444316,"avatar_url":"https://avatars.githubusercontent.com/u/444316?v=3","gravatar_id":"","url":"https://api.github.com/users/tracker1","html_url":"https://github.com/tracker1","followers_url":"https://api.github.com/users/tracker1/followers","following_url":"https://api.github.com/users/tracker1/following{/other_user}","gists_url":"https://api.github.com/users/tracker1/gists{/gist_id}","starred_url":"https://api.github.com/users/tracker1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tracker1/subscriptions","organizations_url":"https://api.github.com/users/tracker1/orgs","repos_url":"https://api.github.com/users/tracker1/repos","events_url":"https://api.github.com/users/tracker1/events{/privacy}","received_events_url":"https://api.github.com/users/tracker1/received_events","type":"User","site_admin":false},"created_at":"2015-04-23T23:42:25Z","updated_at":"2015-04-23T23:42:25Z","body":"@AlexSenchenko I'm not certain, but IIRC a connection is removed from the pool in that case... @patriksimek would be the one to clarify though."}}