{"action":"closed","issue":{"url":"https://api.github.com/repos/bwestergard/node-postgres-named/issues/36","repository_url":"https://api.github.com/repos/bwestergard/node-postgres-named","labels_url":"https://api.github.com/repos/bwestergard/node-postgres-named/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/bwestergard/node-postgres-named/issues/36/comments","events_url":"https://api.github.com/repos/bwestergard/node-postgres-named/issues/36/events","html_url":"https://github.com/bwestergard/node-postgres-named/issues/36","id":194743576,"number":36,"title":"pg pool integration","user":{"login":"jordanarseno","id":757192,"avatar_url":"https://avatars.githubusercontent.com/u/757192?v=3","gravatar_id":"","url":"https://api.github.com/users/jordanarseno","html_url":"https://github.com/jordanarseno","followers_url":"https://api.github.com/users/jordanarseno/followers","following_url":"https://api.github.com/users/jordanarseno/following{/other_user}","gists_url":"https://api.github.com/users/jordanarseno/gists{/gist_id}","starred_url":"https://api.github.com/users/jordanarseno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordanarseno/subscriptions","organizations_url":"https://api.github.com/users/jordanarseno/orgs","repos_url":"https://api.github.com/users/jordanarseno/repos","events_url":"https://api.github.com/users/jordanarseno/events{/privacy}","received_events_url":"https://api.github.com/users/jordanarseno/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-10T04:14:32Z","updated_at":"2016-12-12T00:32:22Z","closed_at":"2016-12-12T00:32:22Z","body":"awesome package.\r\n\r\nQuick question about integration with `pg-pool`... This definitely returned results into `results.rows`, but I want to make sure there are no caveats if I adopt this method.\r\n\r\n```javascript\r\nconst PgPool  = require('pg-pool');\r\nconst PgNamed = require('node-postgres-named');\r\nconst config  = {...}\r\n\r\nvar pool = PgPool(config);\r\n\r\nPgNamed.patch(pool);\r\n\r\npool.query('SELECT * FROM users WHERE email = $email AND active = $active;', { email: 'foo@bar.com', active: 1 }, (err, results) => {\r\n\r\n  console.log(results.rows);\r\n\r\n});\r\n``` \r\n\r\nAny thoughts?"}}
{"actor":{"display_login":"jordanarseno"}}