Skip to content

Commit 72bd926

Browse files
committed
docs: Document 'database' param for 'connect()'
1 parent bc308c5 commit 72bd926

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

asyncpg/connection.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,9 @@ async def connect(dsn=None, *,
436436
making the connection, or the value of ``PGUSER`` environment
437437
variable, if set)
438438
439+
:param database: the name of the database (defaults to the value of
440+
``PGDATABASE`` environment variable, if set.)
441+
439442
:param password: password used for authentication
440443
441444
:param loop: An asyncio event loop instance. If ``None``, the default

0 commit comments

Comments
 (0)