Skip to content

Commit ceba69f

Browse files
authored
Fixed a documentation error
1 parent f5bc0de commit ceba69f

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)