不要怂,就是干,撸起袖子干!

Commit 3c8ca77a by Awwab Ul Haq Committed by Sushant

fix(bulkupdate): pass correct type in options (#11515)

1 parent 7f3341d9
Showing with 1 additions and 0 deletions
......@@ -1039,6 +1039,7 @@ class QueryInterface {
const table = _.isObject(tableName) ? tableName : { tableName };
const model = _.find(this.sequelize.modelManager.models, { tableName: table.tableName });
options.type = QueryTypes.BULKUPDATE;
options.model = model;
return this.sequelize.query(sql, options);
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!