@zintrust/db-postgres
v0.1.30
Published
PostgreSQL database adapter package for ZinTrust (uses `pg`).
Readme
@zintrust/db-postgres
PostgreSQL database adapter package for ZinTrust (uses pg).
Install
Recommended:
zin add db:postgresOr install directly:
npm i @zintrust/db-postgres pgUsage
Register the adapter at startup:
import '@zintrust/db-postgres/register';Then select the adapter in your config/env (the registered driver key is postgresql):
DB_CONNECTION=postgresqlDocs
- https://zintrust.com/adapters
- https://zintrust.com/database-advanced
License
This package and its dependencies are MIT licensed, permitting free commercial use.
