Optional
url: string(optional) the connection URL for MongoDB (e.g. mongodb://localhost:27105) Can also be set through the environment variable MONGODB_URL.
Optional
db: string(optional) the DB Can also be set through the environment variable MONGODB_DB.
Optional
username: stringOptional
password: string(optional) the password for the MongoDB user Can also be set through the environment variable MONGODB_PASSWORD.
the MongoDB client
Creates a MongoDB client. You must either pass the configuration values through the parameters or set them as environment variables.