Extension allowing to store template in Postgres SQL database
npm install @jsreport/jsreport-postgres-storejsreport template store extension allowing to persist data in PostgreSQL database
> npm install @jsreport/jsreport-postgres-store
Then alter jsreport configuration
``js`
{
"store": {
"provider": "postgres"
},
"extensions": {
"postgres-store": {
"host": "localhost",
"port": 5433,
"database": "jsreport",
"user": "postgres",
"password": "password",
// optionaly enable ssl
"ssl": true,
// optionally customize ssl
// https://node-postgres.com/features/ssl
"ssl": { ... }
}
}
}
After jsreport initializes you should see tables like jsreport.TemplateType and other in jsreport database.
$3
- update postgres client
pg-promise$3
- add schema to the postgres blob table
- create store indexes during schema creation
$3
- minimum node.js version is now
18.15.0`- add support for odata ne operator
- Support for complex $filter in count quert. Fix for 3.7.1 profiler
- Adaptations for the v3 APIs