postgrelize / StatementCacheOptions
Type Alias: StatementCacheOptions ​
StatementCacheOptions =
Readonly<{max?:number; }>
Defined in: src/connection/options.ts:50
postgrelize extensionNamed prepared statement cache settings, given as the statementCache option of SequelizeOptions. PostgreSQL extension.
Example ​
ts
const db = new Sequelize('postgres://user:pass@localhost:5432/app', { statementCache: { max: 50 } });