Help me, the sequelize can't execute multiple queries separated by semicolon using
sequelize.query('your query', [, callee], [, options], [, replacements])
If you are on mysql, you can pass multipleStatements to the sequelize constructor like this:
new Sequelize(..., {
dialectOptions: {
multipleStatements: true
}
})
Most helpful comment
If you are on mysql, you can pass
multipleStatementsto the sequelize constructor like this: