Node.js 39 🟢 Connecting to PostgreSQL using the Native pg Driver
The pg package, also known as node-postgres, is the canonical PostgreSQL client for Node.js. It is not a full ORM. It does not model your tables as JavaScript classes, does not manage migrations, and does not hide SQL behind a query builder. It sends SQL to PostgreSQL and returns the rows as plain JavaScript objects….