我对如何在node.js模块中正确实现postgres连接池知之甚少.
我的问题是:当我在需要连接到pg的每个模块中创建新池时,它是否有问题?
有没有办法为整个应用程序全局创建池?
谢谢.
postgresql connection-pooling node.js pg node-modules
connection-pooling ×1
node-modules ×1
node.js ×1
pg ×1
postgresql ×1