Skip to content

Commit 41a9946

Browse files
author
Filipe Correa
committed
Remove await from client release
1 parent e2d8fa2 commit 41a9946

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/pages/features/pooling.mdx

Lines changed: 1 addition & 1 deletion
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)