PostgreSQL database driver for Mythix ORM (v1.13.0). Provides connection pooling, query generation, and model binding. Pairs with mythix-orm-sql-base. TypeScript types included. Released under MIT license. Differentiator: integrates seamlessly with Mythix ORM's query generator and model binding, supporting async/await and ESM/CJS. Requires Node >=18.0.0.
npm install mythix-orm-postgresqlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a PostgreSQLConnection, starts it, then stops it. Demonstrates basic setup with env vars for credentials.
Upgrade Node.js to >=18.0.0
Always await connection.start() before running queries
Use ESM import { PostgreSQLConnection } from 'mythix-orm-postgresql'npm install mythix-orm-postgresql mythix-orm mythix-orm-sql-base
Use named import: import { PostgreSQLConnection } from 'mythix-orm-postgresql'Start PostgreSQL server or correct connection options
Set correct user and password in connection options