Skip to content

Commit 91aa22e

Browse files
authored
Merge pull request #145 from bymoye/main
Fixed a documentation error
2 parents f5bc0de + ceba69f commit 91aa22e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/components/connection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ async def main() -> None:
180180
...
181181
connection = await db_pool.connection()
182182
# this will be an int value
183-
query_result_value = await connection.fetch_row(
183+
query_result_value = await connection.fetch_val(
184184
"SELECT COUNT(*) FROM users WHERE id > $1",
185185
[100],
186186
)

0 commit comments

Comments
 (0)