Sequelize ORM refines for @imqueue



Sequelize ORM refines for @imqueue
~~~bash
npm i --save @imqueue/sequelize
~~~
~~~bash
git clone git@github.com:imqueue/sequelize.git
cd sequelize
npm i
npm run doc
~~~
~~~typescript
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,
},
},
});
~~~
This project is licensed under the GNU General Public License v3.0.
See the LICENSE