Pydantic · Type Alias
MongoDsn
MongoDsn validates MongoDB connection strings in Pydantic. It accepts mongodb and mongodb+srv URLs, with optional credentials, database names, and ports.
Last updated
Syntax
MongoDsnIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
AnyUrlMultiHostUrlUrlConstraintsPostgresDsnRedisDsn