pillars.db

package pillars.db

Members list

Packages

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]

Attributes

Companion
object
Source
db.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Module[F]
class Object
trait Matchable
class Any
Show all
object DB extends ModuleSupport

Attributes

Companion
class
Source
db.scala
Supertypes
class Object
trait Matchable
class Any
Self type
DB.type

Attributes

Companion
class
Source
db.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
object DatabaseName extends RefinedTypeOps[String, DatabaseNameConstraint, DatabaseName]

Attributes

Source
db.scala
Supertypes
trait RefinedTypeOps[String, DatabaseNameConstraint, DatabaseName]
class Object
trait Matchable
class Any
Self type
object DatabasePassword extends RefinedTypeOps[String, DatabasePasswordConstraint, DatabasePassword]

Attributes

Source
db.scala
Supertypes
trait RefinedTypeOps[String, DatabasePasswordConstraint, DatabasePassword]
class Object
trait Matchable
class Any
Self type
object DatabaseSchema extends RefinedTypeOps[String, DatabaseSchemaConstraint, DatabaseSchema]

Attributes

Source
db.scala
Supertypes
trait RefinedTypeOps[String, DatabaseSchemaConstraint, DatabaseSchema]
class Object
trait Matchable
class Any
Self type
object DatabaseTable extends RefinedTypeOps[String, DatabaseTableConstraint, DatabaseTable]

Attributes

Source
db.scala
Supertypes
trait RefinedTypeOps[String, DatabaseTableConstraint, DatabaseTable]
class Object
trait Matchable
class Any
Self type
object DatabaseUser extends RefinedTypeOps[String, DatabaseUserConstraint, DatabaseUser]

Attributes

Source
db.scala
Supertypes
trait RefinedTypeOps[String, DatabaseUserConstraint, DatabaseUser]
class Object
trait Matchable
class Any
Self type

Attributes

Source
db.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object PoolSize extends RefinedTypeOps[Int, PoolSizeConstraint, PoolSize]

Attributes

Source
db.scala
Supertypes
trait RefinedTypeOps[Int, PoolSizeConstraint, PoolSize]
class Object
trait Matchable
class Any
Self type
PoolSize.type
object SchemaVersion extends RefinedTypeOps[String, Not[Blank] & Match["^(\\d+\\.\\d+\\.\\d+)$"], SchemaVersion]

Attributes

Source
db.scala
Supertypes
trait RefinedTypeOps[String, Not[Blank] & Match["^(\\d+\\.\\d+\\.\\d+)$"], SchemaVersion]
class Object
trait Matchable
class Any
Self type

Types

opaque type DatabaseName

Attributes

Source
db.scala
opaque type DatabasePassword

Attributes

Source
db.scala
opaque type DatabaseSchema

Attributes

Source
db.scala
opaque type DatabaseTable

Attributes

Source
db.scala
opaque type DatabaseUser

Attributes

Source
db.scala
opaque type PoolSize

Attributes

Source
db.scala
opaque type SchemaVersion

Attributes

Source
db.scala

Value members

Concrete methods

def sessions[F[_]](using p: Pillars[F]): DB[F]

Attributes

Source
db.scala