DbConfig

harness.sql.DbConfig$
See theDbConfig companion class
object DbConfig

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
DbConfig.type

Members list

Type members

Classlikes

final case class Credentials(username: String, password: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class Logging(addConnectionContext: Boolean, addTransactionContext: Boolean)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class PoolConfig(minConnections: Int, maxConnections: Int, duration: Duration)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class Raw(target: Target, credentials: Credentials, pool: PoolConfig, logging: Logging)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Raw
final case class Target(database: String, host: Option[String], port: Option[Int])

Attributes

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

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Implicits

Implicits

implicit val jsonCodec: JsonCodec[DbConfig]