MongoConnectionInformation interface
Mongo Connection
Properties
| connection |
ConnectionString to connect to Mongo. |
| host | Host of mongo connection. |
| password | Password to connect to Mongo. This value contains a credential. Consider obscuring before showing to users |
| port | Port of mongo connection. |
| user |
User name to connect to Mongo. |
| use |
Whether to UseSsl or UseTls to connect to Mongo. Default is true. |
Property Details
connectionString
ConnectionString to connect to Mongo.
connectionString?: string
Property Value
string
host
Host of mongo connection.
host?: string
Property Value
string
password
Password to connect to Mongo. This value contains a credential. Consider obscuring before showing to users
password?: string
Property Value
string
port
Port of mongo connection.
port?: number
Property Value
number
userName
User name to connect to Mongo.
userName?: string
Property Value
string
useSsl
Whether to UseSsl or UseTls to connect to Mongo. Default is true.
useSsl?: boolean
Property Value
boolean