mongo4cats.client

Type members

Classlikes

abstract class ClientSession[F[_]]
Companion:
object
Companion:
class
abstract class MongoClient[F[_]]
Companion:
object
object MongoClient extends AsJava
Companion:
class
sealed abstract class MongoConnection(host: String, port: Int, credential: Option[MongoCredential], 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

Companion:
object
Companion:
class
sealed abstract class MongoConnectionType(`type`: String)
Companion:
object
Companion:
class
final case class MongoCredential(username: String, password: String)

Types

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