Optional. If specified, the client will attempt to log in to the specific database using these credentials after connecting to the mongod instance.
You can specify as many hosts as necessary. You would specify multiple hosts, for example, for connections to replica sets.
Optional. The name of the database to authenticate if the connection string includes authentication credentials in the form of username:password@. If /database is not specified and the connection string includes credentials, the driver will authenticate to the admin database.
Connection specific options.
Optional.
Optional. If specified, the client will attempt to log in to the specific database using these credentials after connecting to the mongod instance.
Optional.
Optional. The name of the database to authenticate if the connection string includes authentication credentials in the form of username:password@. If /database is not specified and the connection string includes credentials, the driver will authenticate to the admin database.
You can specify as many hosts as necessary.
You can specify as many hosts as necessary. You would specify multiple hosts, for example, for connections to replica sets.
Connection specific options.
Optional. If specified, the client will attempt to log in to the specific database using these credentials after connecting to the mongod instance.
You can specify as many hosts as necessary. You would specify multiple hosts, for example, for connections to replica sets.
Optional. The name of the database to authenticate if the connection string includes authentication credentials in the form of username:password@. If /database is not specified and the connection string includes credentials, the driver will authenticate to the admin database.
Connection specific options.