object KMongo
(source)
Main object used to create a MongoClient instance.
createClient |
Creates an instance based on a (single) mongodb node (localhost, default port). fun createClient(): MongoClient
Creates a Mongo instance. fun createClient(connectionString: String): MongoClient
Creates a Mongo described by a URI. If only one address is used it will only connect to that node, otherwise it will discover all nodes. fun createClient(connectionString: ConnectionString): MongoClient fun createClient(settings: MongoClientSettings): MongoClient |