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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy