DataSource

object DataSource
class Object
trait Matchable
class Any

Value members

Concrete methods

def fromConfig(config: => Config): ZLayer[Any, Throwable, DataSource]
def fromConfigClosable(config: => Config): ZLayer[Any, Throwable, DataSource & Closeable]
def fromDataSource(ds: => DataSource): ZLayer[Any, Throwable, DataSource]
def fromJdbcConfig(jdbcContextConfig: => JdbcContextConfig): ZLayer[Any, Throwable, DataSource]
def fromJdbcConfigClosable(jdbcContextConfig: => JdbcContextConfig): ZLayer[Any, Throwable, DataSource & Closeable]
def fromPrefix(prefix: String): ZLayer[Any, Throwable, DataSource]
def fromPrefixClosable(prefix: String): ZLayer[Any, Throwable, DataSource & Closeable]