Numerous Packages Multiply

    sequelize-aws-x-ray

    1.0.1 • Public • Published

    sequelize-aws-x-ray

    The sequelize-aws-x-ray module is a Sequelize extension for AWS X-Ray.

    Installation

    MySQL (with mysql module)

    npm install --save sequelize-aws-x-ray-mysql
    

    MySQL (with mysql2 module)

    npm install --save sequelize-aws-x-ray-mysql2
    

    PostgreSQL (with pg module)

    npm install --save sequelize-aws-x-ray-pg
    

    Usage

    MySQL (with mysql module)

    var Sequelize = require('sequelize');
    
    var db = new Sequelize({
        dialect: 'mysql',
        dialectModulePath: 'sequelize-aws-x-ray-mysql',
    });
    

    MySQL (with mysql2 module)

    var Sequelize = require('sequelize');
    
    var db = new Sequelize({
        dialect: 'mysql',
        dialectModulePath: 'sequelize-aws-x-ray-mysql2',
    });
    

    PostgreSQL (with pg module)

    var Sequelize = require('sequelize');
    
    var db = new Sequelize({
        dialect: 'postgres',
        dialectModulePath: 'sequelize-aws-x-ray-pg',
    });
    

    Install

    npm i sequelize-aws-x-ray

    DownloadsWeekly Downloads

    803

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • shun-tak