The following table describes the MongoDB connection parameters you can use in the connect()
module method.
Parameter | Description |
---|---|
|
The server name or IP address |
|
The name of the database |
|
The port number. The default value is |
|
The name of the database user |
|
The password of the database user |
|
The path to the |
|
The path to the |
|
The ID of a connection pool that will be used for a particular connection |
|
Disables connection pooling for a particular connection. The possible values are |
|
Specifies the mapping of complex fields (object, array, timestamp, binary, regular expression, and JavaScript types). The possible values are:
|
|
The number of documents in a collection that will used to create a list of fields in a dataset. The default value is |
|
Additional hosts in the |
|
Additional connection string options. For more information, see the MongoDB documentation. |