PostgreSQL client/pool
SQLDatabase-compatible adapter
Creates a PostgreSQL adapter implementing CollegeDB's SQL contract.
Supports pg Client, Pool, and compatible implementations.
SQL using ? placeholders is automatically rewritten to $1..$n.
For Drizzle-backed PostgreSQL clients, pass the Drizzle DB instance as
client and the Drizzle sql helper as the second argument.
PostgreSQL client/pool
Optional Drizzle sql helper for Drizzle interop
SQLDatabase-compatible adapter
Creates a PostgreSQL adapter implementing CollegeDB's SQL contract.
Supports
pgClient, Pool, and compatible implementations. SQL using?placeholders is automatically rewritten to$1..$n.For Drizzle-backed PostgreSQL clients, pass the Drizzle DB instance as
clientand the Drizzlesqlhelper as the second argument.