A lightweight, schemaless SQL generation library for PostgreSQL, built on top of sql-bricks. It adds PostgreSQL-specific features such as LIMIT/OFFSET, RETURNING, UPDATE...FROM, DELETE...USING, ON CONFLICT (UPSERT), and FROM VALUES. Version 0.6.0 is stable but sees infrequent releases. Key differentiator: provides a fluent API for generating parameterized SQL with PostgreSQL syntax, using $1, $2 placeholders for safe execution via database libraries. Designed for use with pg-bricks for query execution, but can be used standalone.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
CommonJS require returns the sql-bricks object directly, no default property.
ESM default import is the preferred modern approach.
Demonstrates select, insert with RETURNING, and upsert (ON CONFLICT DO UPDATE) using parameterized queries.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.