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"), @Nullable mongoDriverInformation: MongoDriverInformation? = null): MongoClient
fun create(settings: MongoClientSettings, @Nullable mongoDriverInformation: MongoDriverInformation? = null): MongoClient
Create a new client with the given connection string.