KMongo
Main object used to create a MongoClient instance of the official MongoDB Kotlin sync driver, configured with the KMongo object mapping.
Functions
Creates a MongoClient instance with default connection string (localhost).
Creates a MongoClient with the given connection string.
Creates a MongoClient with the given settings (the codec registry is updated with KMongo mapping).
Wraps a Java sync driver client in a Kotlin sync driver client (they share the same connection pool, closing one closes the other).
Creates a Java sync driver client (com.mongodb.client.MongoClient) with the given settings (the codec registry is updated with KMongo mapping).
Creates a Java sync driver client (com.mongodb.client.MongoClient) with the given connection string (see createJavaClient).