MongoConnection

sealed abstract class MongoConnection(host: String, port: Int, credential: Option[MongoCredential], connectionType: MongoConnectionType)

A data model representation of a MongoDB Connection String

Value parameters:
connectionType

For switching between different MongoDB connection types, see MongoConnectionType for possible options

credential

Optional credentials that maybe used to establish authentication with the MongoDB

host

The host that serves MongoDB

port

Port where the MongoDB is served in the host

Companion:
object
class Object
trait Matchable
class Any

Value members

Concrete methods

override def toString: String
Definition Classes
Any