mirror of
https://github.com/brianc/node-postgres.git
synced 2025-12-08 20:16:25 +00:00
Remove await from client release (#3006)
Co-authored-by: Filipe Correa <f.avelino-correa@klarna.com>
This commit is contained in:
parent
e2d8fa2dc2
commit
46cfb25baf
@ -43,7 +43,7 @@ const client = await pool.connect()
|
||||
const res = await client.query('SELECT * FROM users WHERE id = $1', [1])
|
||||
console.log(res.rows[0])
|
||||
|
||||
await client.release()
|
||||
client.release()
|
||||
```
|
||||
|
||||
<Alert>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user