Database

harness.sql.Database$
See theDatabase companion class
object Database

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Database.type

Members list

Value members

Concrete methods

def pool(connectionFactory: ConnectionFactory, range: Range, duration: Duration, logging: Logging): URIO[Scope, Database]
def poolLayer(connectionFactory: ConnectionFactory, range: Range, duration: Duration, logging: Logging): ULayer[Database]
def poolLayer: URLayer[DbConfig, Database]

Creates a pool layer from a DbConfig.

Creates a pool layer from a DbConfig.

Attributes

Creates a pool layer from a DbConfig. Then, runs the given migrations against that database.

Creates a pool layer from a DbConfig. Then, runs the given migrations against that database.

Attributes

Creates a pool layer from a DbConfig. Then, runs the given migrations against that database.

Creates a pool layer from a DbConfig. Then, runs the given migrations against that database.

Attributes