MySQLDataSource

works.iterative.sqldb.mysql.MySQLDataSource
See theMySQLDataSource companion class

Attributes

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

Members list

Value members

Concrete methods

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

Concrete fields

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