{"action":"created","issue":{"url":"https://api.github.com/repos/lukeb-uk/node-promise-mysql/issues/9","labels_url":"https://api.github.com/repos/lukeb-uk/node-promise-mysql/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/lukeb-uk/node-promise-mysql/issues/9/comments","events_url":"https://api.github.com/repos/lukeb-uk/node-promise-mysql/issues/9/events","html_url":"https://github.com/lukeb-uk/node-promise-mysql/pull/9","id":119581532,"number":9,"title":"Added connection pool","user":{"login":"naturalethic","id":1254,"avatar_url":"https://avatars.githubusercontent.com/u/1254?v=3","gravatar_id":"","url":"https://api.github.com/users/naturalethic","html_url":"https://github.com/naturalethic","followers_url":"https://api.github.com/users/naturalethic/followers","following_url":"https://api.github.com/users/naturalethic/following{/other_user}","gists_url":"https://api.github.com/users/naturalethic/gists{/gist_id}","starred_url":"https://api.github.com/users/naturalethic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naturalethic/subscriptions","organizations_url":"https://api.github.com/users/naturalethic/orgs","repos_url":"https://api.github.com/users/naturalethic/repos","events_url":"https://api.github.com/users/naturalethic/events{/privacy}","received_events_url":"https://api.github.com/users/naturalethic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-30T21:09:54Z","updated_at":"2015-11-30T23:58:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/lukeb-uk/node-promise-mysql/pulls/9","html_url":"https://github.com/lukeb-uk/node-promise-mysql/pull/9","diff_url":"https://github.com/lukeb-uk/node-promise-mysql/pull/9.diff","patch_url":"https://github.com/lukeb-uk/node-promise-mysql/pull/9.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/lukeb-uk/node-promise-mysql/issues/comments/160802801","html_url":"https://github.com/lukeb-uk/node-promise-mysql/pull/9#issuecomment-160802801","issue_url":"https://api.github.com/repos/lukeb-uk/node-promise-mysql/issues/9","id":160802801,"user":{"login":"naturalethic","id":1254,"avatar_url":"https://avatars.githubusercontent.com/u/1254?v=3","gravatar_id":"","url":"https://api.github.com/users/naturalethic","html_url":"https://github.com/naturalethic","followers_url":"https://api.github.com/users/naturalethic/followers","following_url":"https://api.github.com/users/naturalethic/following{/other_user}","gists_url":"https://api.github.com/users/naturalethic/gists{/gist_id}","starred_url":"https://api.github.com/users/naturalethic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naturalethic/subscriptions","organizations_url":"https://api.github.com/users/naturalethic/orgs","repos_url":"https://api.github.com/users/naturalethic/repos","events_url":"https://api.github.com/users/naturalethic/events{/privacy}","received_events_url":"https://api.github.com/users/naturalethic/received_events","type":"User","site_admin":false},"created_at":"2015-11-30T23:58:36Z","updated_at":"2015-11-30T23:58:36Z","body":"Nope, I tested against a private project.  Perhaps you could add some unit tests. :)\r\n\r\nOr -- did you mean an example of how to use it for the docs?  If so, everything from before worked as documented.  The new stuff is:\r\n```javascript\r\nvar mysql = require('promise-mysql')\r\nvar pool = mysql.createPool(config) // Returns a connection pool (not a promise)\r\npool.getConnection().then(function(connection))\r\nconnection.release().then(function)\r\npool.end().then(function)\r\n```"}}