Sequelize ORM refines for @imqueue
npm i --save @imqueue/sequelize
git clone [email protected]:imqueue/sequelize.git
cd sequelize
npm i
npm run doc
import { database, query } from '@imqueue/sequelize';
const sequelize = database({
logger: console,
modelsPath: './src/orm/models',
sequelize: {
benchmark: true,
dialect: 'postgres',
storage: 'sequelize',
pool: {
max: 250,
min: 2,
idle: 30000,
acquire: 30000,
},
},
});