function getConnection(){ var sequelize=new Sequelize("DBName","sa","000000", { host:"************", dialect:"mssql", port: 1433, dialectOptions: { encrypt: true } } ); return sequelize; } exports.getcon=getConnection;
在官方文档上并未给出明确的提示,记录一下! 特别是encrypt 的设置
时间: 2024-11-09 02:52:10