Pydantic · Type Alias
PostgresDsn
PostgresDsn validates PostgreSQL connection strings. It requires user information and a host, does not require a top-level domain, and supports multiple hosts.
Last updated
Syntax
class Model(BaseModel):
database: PostgresDsnIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
AnyUrlHttpUrlMySQLDsnMariaDBDsnCockroachDsnAmqpDsnRedisDsnMongoDsn