MCPcopy Create free account
hub / github.com/Effect-TS/effect / layer

Function layer

packages/sql/pglite/src/PgliteClient.ts:380–382  ·  view source on GitHub ↗
(
  config?: PgliteClientConfig | undefined
)

Source from the content-addressed store, hash-verified

378 * @since 4.0.0
379 */
380export const layer = (
381 config?: PgliteClientConfig | undefined
382): Layer.Layer<PgliteClient | Client.SqlClient, SqlError> => layerFrom(make(config))
383
384/**
385 * Creates the PGlite statement compiler, using PostgreSQL `$1` placeholders, double-quoted identifiers, returning clauses, and optional JSON value transformation.

Callers

nothing calls this directly

Calls 2

layerFromFunction · 0.70
makeFunction · 0.70

Tested by

no test coverage detected