effect-io-ai

Package: @effect/sql-mysql2
Module: MysqlClient

MysqlClient.layer

Creates a layer from a concrete MySQL client configuration, providing both MysqlClient and SqlClient.

Signature

declare const layer: (config: MysqlClientConfig) => Layer.Layer<MysqlClient | Client.SqlClient, Config.ConfigError | SqlError>

Source

Since v4.0.0