effect-io-ai

Package: @effect/sql-pg
Module: PgClient

PgClient.make

Creates a scoped PostgreSQL client backed by a managed pg connection pool.

Signature

declare const make: (options: PgPoolConfig) => Effect.Effect<PgClient, SqlError, Scope.Scope | Reactivity.Reactivity>

Source

Since v4.0.0