mongo4cats.models.client

Members list

Type members

Classlikes

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
sealed abstract class MongoConnection(val host: String, val port: Option[Int], val credential: Option[MongoCredential], val connectionType: MongoConnectionType)

A data model representation of a MongoDB Connection String

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

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
sealed abstract class MongoConnectionType(`type`: String)

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Classic.type
object Srv.type

Attributes

Companion
class
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class MongoCredential(username: String, password: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object ServerAddress

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Types

type ClientSessionOptions = ClientSessionOptions
type ConnectionString = ConnectionString
type MongoClientSettings = MongoClientSettings
type MongoDriverInformation = MongoDriverInformation
type ServerAddress = ServerAddress
type TransactionOptions = TransactionOptions