Skip to content

Latest commit

 

History

History
48 lines (37 loc) · 1.22 KB

README.md

File metadata and controls

48 lines (37 loc) · 1.22 KB

@imqueue/sequelize

Build Status David David Known Vulnerabilities License

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