effect-io-ai

Package: @effect/sql-pg
Module: PgClient

PgClient.makeCompiler

Creates the PostgreSQL statement compiler, using $1 placeholders, double-quoted identifiers, PostgreSQL returning clauses, and optional JSON value transformation.

Signature

declare const makeCompiler: (transform?: (_: string) => string, transformJson?: boolean) => Statement.Compiler

Source

Since v4.0.0