connection pooler
Whats the correct way to connect to postgres using pgbouncer as a connection pooler? should we use https://www.npmjs.com/package/postgres or https://www.npmjs.com/package/pg with Pool constructor?
npm
postgres
Fastest full featured PostgreSQL client for Node.js. Latest version: 3.4.4, last published: 2 months ago. Start using postgres in your project by running
npm i postgres
. There are 240 other projects in the npm registry using postgres.npm
pg
PostgreSQL client - pure javascript & libpq with the same API. Latest version: 8.11.5, last published: a month ago. Start using pg in your project by running
npm i pg
. There are 9622 other projects in the npm registry using pg.0 Replies