You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// > Do not use pool.query if you need transactional integrity: the pool will dispatch every query passed to pool.query on the first available idle client. Transactions within PostgreSQL are scoped to a single client and so dispatching individual queries within a single transaction across multiple, random clients will cause big problems in your app and not work. For more info please read transactions.
7
17
// https://node-postgres.com/api/pool
8
18
constdb=newPool({
9
19
...opt,
20
+
ssl: {
21
+
...ssl,
22
+
...(opt.ssl||{}),
23
+
},
10
24
// todo: let this depend on the configured matching parallelism
0 commit comments