GeekEast / blog_comment

0 stars 0 forks source link

Node-postgres Tutorial | 雪中印 #144

Open GeekEast opened 4 years ago

GeekEast commented 4 years ago

https://geekeast.github.io/database/postgres/pg.html

Connection Pool 123456789101112const { Pool } = require('pg');const pool = new Pool({ user: process.env.POSTGRES_USERNAME, host: process.env.POSTGRES_HOST, database: process.env.POSTGR