pillars.db
package pillars.db
Members list
Type members
Classlikes
final case class DB[F[_]](config: DatabaseConfig, pool: Resource[F, Session[F]])(implicit evidence$1: Async[F], evidence$2: Network[F], evidence$3: Tracer[F], evidence$4: Console[F]) extends Module[F]
object DB extends ModuleSupport
Attributes
final case class DatabaseConfig(host: Host, port: Port, database: DatabaseName, username: DatabaseUser, password: Secret[DatabasePassword], ssl: SSL, systemSchema: DatabaseSchema, appSchema: DatabaseSchema, poolSize: PoolSize, debug: Boolean, probe: ProbeConfig, logging: LoggingConfig, typerStrategy: Strategy, extraParameters: Map[String, String], commandCache: Int, queryCache: Int, parseCache: Int, readTimeout: Duration, redactionStrategy: RedactionStrategy) extends Config
object DatabaseConfig
Attributes
- Companion
- class
- Source
- db.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
DatabaseConfig.type
object DatabaseName extends RefinedTypeOps[String, DatabaseNameConstraint, DatabaseName]
Attributes
- Source
- db.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
DatabaseName.type
object DatabasePassword extends RefinedTypeOps[String, DatabasePasswordConstraint, DatabasePassword]
Attributes
- Source
- db.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
DatabasePassword.type
object DatabaseSchema extends RefinedTypeOps[String, DatabaseSchemaConstraint, DatabaseSchema]
Attributes
- Source
- db.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
DatabaseSchema.type
object DatabaseTable extends RefinedTypeOps[String, DatabaseTableConstraint, DatabaseTable]
Attributes
- Source
- db.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
DatabaseTable.type
object DatabaseUser extends RefinedTypeOps[String, DatabaseUserConstraint, DatabaseUser]
Attributes
- Source
- db.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
DatabaseUser.type
final case class LoggingConfig(enabled: Boolean, level: Level, statements: Boolean, timing: Boolean)
object SchemaVersion extends RefinedTypeOps[String, Not[Blank] & Match["^(\\d+\\.\\d+\\.\\d+)$"], SchemaVersion]
Attributes
- Source
- db.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SchemaVersion.type
In this article