PostgreSQLDataSource

works.iterative.sqldb.postgresql.PostgreSQLDataSource
See thePostgreSQLDataSource companion class

Attributes

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

Members list

Value members

Concrete methods

def initDataSource(config: PostgreSQLConfig): ZIO[Scope, Throwable, HikariDataSource]
def layerWithConfig(config: PostgreSQLConfig): ZLayer[Scope, Throwable, DataSource]
def managedLayerWithConfig(config: PostgreSQLConfig): ZLayer[Scope, Throwable, PostgreSQLDataSource]

Concrete fields

val layer: ZLayer[Scope, Throwable, DataSource]
val layerFromDataSource: ZLayer[DataSource, Nothing, PostgreSQLDataSource]
val managedLayer: ZLayer[Scope, Throwable, PostgreSQLDataSource]