A Node.js PostgreSQL connector for the Leo Platform, version 4.0.19-beta. Provides connection pooling, query building, and transaction support for Postgres databases within Leo Platform applications. Released as a beta, it integrates tightly with Leo Platform's service architecture. Differentiators include built-in Leo Platform compatibility and simplified query syntax.
npm install leo-connector-postgresNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows creating a Postgres connector, connecting, executing a parameterized query, and closing the connection.
Update code to use async/await instead of callbacks.
Rename 'pool' to 'connectionPool' in config object.
Provide host, port, database, user, and password separately.
Use $1, $2 parameterized style.
Run 'npm install leo-connector-postgres'.
Use 'import { PostgresConnector } from 'leo-connector-postgres''.Check PG_HOST environment variable or connection config.
Verify PG_USER and PG_PASSWORD environment variables.