( config: Config.Wrap<PgPoolConfig> )
| 811 | export const layerConfig: ( |
| 812 | config: Config.Wrap<PgPoolConfig> |
| 813 | ) => Layer.Layer<PgClient | Client.SqlClient, Config.ConfigError | SqlError> = ( |
| 814 | config: Config.Wrap<PgPoolConfig> |
| 815 | ): Layer.Layer<PgClient | Client.SqlClient, Config.ConfigError | SqlError> => |
| 816 | layerFrom(Effect.flatMap( |
| 817 | Config.unwrap(config), |
| 818 | make |
| 819 | )) |
| 820 | |
| 821 | /** |
| 822 | * Creates a layer from a concrete PostgreSQL pool configuration, providing both `PgClient` and `SqlClient`. |
nothing calls this directly
no test coverage detected