Answers for "sequelize logging options"

0

sequelize turn off logging

module.exports = {
  development: {
    dialect: 'sqlite',
    storage: './sqlite.db',
    operatorsAliases: 0,
  },
  test: {
    dialect: 'sqlite',
    storage: './sqlite.db',
    operatorsAliases: 0,
  },
  production: {
    dialect: 'sqlite',
    storage: './sqlite.db',
    operatorsAliases: 0,
    logging: false,
  },
};
Posted by: Guest on November-25-2020
-2

new Sequelize('featherstutorial', 'databaseUser', 'databasePassword'

var sequelize = new Sequelize('database', 'username'[, 'password'])
Posted by: Guest on October-10-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language