【nodejs】【pgsql】pg-pool封装
核心参考网站:https://node-postgres.com/1.pgsql-pool.jsconst Pool = require('pg-pool');const config = { user: 'postgres', password: 'XXXX', host: '121.5.xx.xx', port: 5432, database: 'postgres', // ssl: true, max: 20, // set pool.
原创
2021-02-01 09:53:52 ·
774 阅读 ·
0 评论