mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-22 17:06:33 +03:00
parent
c871c49f55
commit
a2bc3c7bcb
|
@ -28,7 +28,7 @@ The module interface respects the standard defined in the |DBAPI|_.
|
|||
|
||||
or using a set of keyword arguments::
|
||||
|
||||
conn = psycopg2.connect(dbname"test", user="postgres", password="secret")
|
||||
conn = psycopg2.connect(dbname="test", user="postgres", password="secret")
|
||||
|
||||
or using a mix of both: if the same parameter name is specified in both
|
||||
sources, the *kwargs* value will have precedence over the *dsn* value.
|
||||
|
|
Loading…
Reference in New Issue
Block a user