@zeruxjs/db-pg
v0.0.3
Published
Helper for @zerux/db for Postgre Database.
Maintainers
Readme
@zeruxjs/db-pg
PostgreSQL JSON-query connector. Database operations compile to parameterized SQL using $1, $2, etc.
import { createConnector } from '@zeruxjs/db-pg';
const pg = await createConnector({connectionString:process.env.DATABASE_URL, max:10});
// Execute normalized operations via a @zeruxjs/db manager, or `connector.execute(operation, context)`.
await pg.disconnect();Accepts injected pool, client, or executor for tests and managed connections. Connectors close only pools they created; external clients are not closed. The dialect and pool lifecycle live in separate modules. Enable PostgreSQL TLS on untrusted networks. Use database-native transactions for multi-operation atomicity; the JSON query pipeline is not a transaction manager.
Release 0.0.2
Prepared to validate npm trusted publishing through GitHub Actions.
Release 0.0.3
Synchronized ecosystem release, including Zuixs CSS-entry support and documentation updates. Existing placeholder packages retain their documented limitations.
