@imqueue/sequelize
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

@imqueue/sequelize

Build Status David David Known Vulnerabilities License

Sequelize ORM refines for @imqueue

Install

npm i --save @imqueue/sequelize

Docs

git clone git@github.com: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,
        },
    },
});

Readme

Keywords

none

Package Sidebar

Install

npm i @imqueue/sequelize

Weekly Downloads

45

Version

2.1.0

License

ISC

Unpacked Size

163 kB

Total Files

52

Last publish

Collaborators

  • serhiy.greench
  • mikhus