MongoDb

data class MongoDb(    val connectionUrl: String? = null,     val subprotocol: String? = null,     val nodes: Array<String>? = null,     val database: String? = null,     val table: String? = null,     val params: Map<String, Any>? = null)

Represents a MongoDB configuration.

Constructors

Link copied to clipboard
constructor(    connectionUrl: String? = null,     subprotocol: String? = null,     nodes: Array<String>? = null,     database: String? = null,     table: String? = null,     params: Map<String, Any>? = null)

Properties

Link copied to clipboard
val connectionUrl: String? = null

The connection URL for MongoDB. Default is null.

Link copied to clipboard
val database: String? = null

The name of the MongoDB database. Default is null.

Link copied to clipboard
val nodes: Array<String>? = null

An array of MongoDB nodes. Default is null.

Link copied to clipboard
val params: Map<String, Any>? = null

Additional parameters for MongoDB. Default is null.

Link copied to clipboard
val subprotocol: String? = null

The subprotocol for the MongoDB connection. Default is null.

Link copied to clipboard
val table: String? = null

The name of the MongoDB table. Default is null.