effect-io-ai

Package: @effect/sql-pglite
Module: PgliteClient

PgliteClient.layer

Creates a layer from a concrete PGlite client configuration, providing both PgliteClient and SqlClient.

Signature

declare const layer: (config?: PgliteClientConfig | undefined) => Layer.Layer<PgliteClient | Client.SqlClient, SqlError>

Source

Since v4.0.0