我正在尝试使用
将otmssql
与Sequelize连接
const Sequelize = require('sequelize');
const sequelize = new Sequelize('database', 'username', 'password', {
host: 'localhost',
dialect: 'mssql'
});
或
const sequelize = new Sequelize('msssql://user:pass@example.com:5432');
并获得Dialect needs to be explicitly supplied as of v4.0.0
我不使用CLI只是入门代码。
瑞格斯