Skip to content

postgrelize / StatementCacheOptions

Type Alias: StatementCacheOptions ​

StatementCacheOptions = Readonly<{ max?: number; }>

Defined in: src/connection/options.ts:50

postgrelize extension

Named 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 } });

Released under the MIT License.