Factory
Functions
Link copied to clipboard
Create a new client with the given connection string as if by a call to create.
fun create(connectionString: ConnectionString = ConnectionString("mongodb://localhost"), mongoDriverInformation: MongoDriverInformation? = null): MongoClient
fun create(settings: MongoClientSettings, mongoDriverInformation: MongoDriverInformation? = null): MongoClient
Create a new client with the given connection string.