A PostgreSQL adapter for Fortune.js that maps Fortune's data interface directly to SQL statements without ORM overhead. Supports non-destructive table setup, array foreign keys for performance, and optimized query building. Current stable version is 1.6.11, last updated in 2020 with sporadic maintenance. Requires PostgreSQL 9.4+. Unlike ORM-based adapters, it delegates foreign key enforcement to Fortune.js and avoids junction tables by using array columns. The adapter also exposes the underlying pg-pool for raw queries. Release cadence is low; no major changes expected.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Package is CommonJS-only, no ESM exports. Use require().
Adapter must be passed as an array with options object as second element.
pool property exists, but consider it private. Use store.adapter.client alias.
Shows how to set up Fortune.js with the Postgres adapter, define a simple schema, and perform create/find operations.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.