( config: PgPoolConfig<R> )
| 580 | * @since 4.0.0 |
| 581 | */ |
| 582 | export const layer = <R = never>( |
| 583 | config: PgPoolConfig<R> |
| 584 | ): Layer.Layer<PgClient | Client.SqlClient, SqlError, Exclude<R, Scope.Scope | Reactivity.Reactivity>> => |
| 585 | layerFrom(make(config)) |
| 586 | |
| 587 | /** |
| 588 | * Creates the PostgreSQL statement compiler. |