()
| 40 | }; |
| 41 | |
| 42 | const performQuery = async () => { |
| 43 | const client = await pgPool.connect(); |
| 44 | const result = await client.query('SELECT now()'); |
| 45 | client.release(); |
| 46 | return result; |
| 47 | }; |
| 48 | |
| 49 | app.get('/hello', async function (req, res) { |
| 50 | if (!pgPool) { |