Package: @effect/sql-pg
Module: PgClient
Creates a layer from a Config-wrapped PostgreSQL pool configuration, providing both PgClient and SqlClient.
Signature
declare const layerConfig: (config: Config.Wrap<PgPoolConfig>) => Layer.Layer<PgClient | Client.SqlClient, Config.ConfigError | SqlError>
Since v4.0.0