Postgres
SQL.Postgres provides tagged-template queries over a Postgres connection. Queries are Effects with typed SqlError failures, interruption, and tracing.
Install @alchemy.run/sql and the Effect Postgres driver:
pnpm add @alchemy.run/sql@latest @effect/sql-pgbun add @alchemy.run/sql@latest @effect/sql-pgnpm install @alchemy.run/sql@latest @effect/sql-pgyarn add @alchemy.run/sql@latest @effect/sql-pgConnect
Section titled “Connect”import * as SQL from "@alchemy.run/sql/Postgres";