Postgres adapter for the Plump ORM/activerecord-style datastore. Current stable version is 0.27.0, released on an as-needed cadence. It provides a PostgreSQL endpoint for Plump models, supporting queries, migrations, and transactions. Differentiators include tight integration with Plump's schema and migration system, TypeScript-first design with full type support, and a simple promise-based API. Not recommended for standalone use; requires the core `plump` package.
npm install plump-store-postgresNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes a PostgresStore, plugs it into the main Plump instance, connects, runs a query, and disconnects.
Pin exact versions of both plump and plump-store-postgres in package.json.
Use env vars or a secret manager for production; avoid hardcoding credentials.
Use an external pool or call connect() once and reuse the plump instance.
Run: npm install pg
Upgrade plump to at least 0.20.0.
Run plump migration commands before querying: await plump.migrate() or use plump CLI.