A utility library for generating SQL commands programmatically, primarily targeting PostgreSQL. Version 1.1.12 supports table creation, data insertion, text search with tsquery, and table setup sequences. It generates SQL strings rather than executing them, making it useful for database migration tools, seed scripts, and query builders. Key differentiators include support for full-text search operators like `plainto_tsquery` and streaming inserts. Updates are infrequent. Ships TypeScript type definitions.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Only named exports; default export is not available.
ESM-only package; CommonJS require may fail depending on bundler settings.
Function names are camelCase starting with lowercase.
Constant names are uppercase with underscores.
Shows how to generate SQL commands for checking table existence, creating tables with data, and performing full-text search using extra-sql.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.