@imqueue/sequelize
v2.3.0
Published
Sequelize ORM refines for @imqueue
Downloads
999
Readme
@imqueue/sequelize
Sequelize ORM refines for @imqueue
Install
npm i --save @imqueue/sequelize
Docs
git clone [email protected]:imqueue/sequelize.git
cd sequelize
npm i
npm run doc
Usage
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,
},
},
});