mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-26 10:53:44 +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::
|
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
|
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.
|
sources, the *kwargs* value will have precedence over the *dsn* value.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user