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

Commit cd853d11 by Jack

Added handler for PRAGMA foreign_key_list

1 parent 5583385a
Showing with 2 additions and 0 deletions
......@@ -129,6 +129,8 @@ module.exports = (function() {
result = results[0];
} else if (self.sql.indexOf('PRAGMA foreign_keys') !== -1) {
result = results;
} else if (self.sql.indexOf('PRAGMA foreign_key_list') !== -1) {
result = results;
} else if ([QueryTypes.BULKUPDATE, QueryTypes.BULKDELETE].indexOf(self.options.type) !== -1) {
result = metaData.changes;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!