@zintrust/db-postgres
v2.1.3
Published
PostgreSQL database adapter for ZinTrust.
Downloads
1,992
Maintainers
Readme
@zintrust/db-postgres
PostgreSQL database adapter package for ZinTrust (uses pg).
Docs: https://zintrust.com/package-db-postgres
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.
