create
Creates a new client with the default connection string "mongodb://localhost".
Return
the client
Create a new client with the given connection string.
Return
the client
Parameters
the connection
Create a new client with the given connection string.
Return
the client
Parameters
the settings
Create a new client with the given connection string.
Note: Intended for driver and library authors to associate extra driver metadata with the connections.
Return
the client
Since
1.3
Parameters
the settings
any driver information to associate with the MongoClient
Create a new client with the given client settings.
Return
the client
Since
3.7
Parameters
the settings
Creates a new client with the given client settings.
Note: Intended for driver and library authors to associate extra driver metadata with the connections.
Return
the client
Since
3.7
Parameters
the settings
any driver information to associate with the MongoClient