Skip to content

Commit 46cfb25

Browse files
filipecorreaFilipe Correa
and
Filipe Correa
authored
Remove await from client release (brianc#3006)
Co-authored-by: Filipe Correa <f.avelino-correa@klarna.com>
1 parent e2d8fa2 commit 46cfb25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/pages/features/pooling.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const client = await pool.connect()
4343
const res = await client.query('SELECT * FROM users WHERE id = $1', [1])
4444
console.log(res.rows[0])
4545

46-
await client.release()
46+
client.release()
4747
```
4848

4949
<Alert>

0 commit comments

Comments
 (0)