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

Commit 9a58695f by Mick Hansen

Merge pull request #1618 from seegno/fix-typo

Fix typo in method name
2 parents 54776221 633dcb93
Showing with 2 additions and 2 deletions
...@@ -96,7 +96,7 @@ module.exports = (function() { ...@@ -96,7 +96,7 @@ module.exports = (function() {
} }
} else if (isCallQuery.call(this)) { } else if (isCallQuery.call(this)) {
result = data[0] result = data[0]
} else if (isBulkUpateQuery.call(this) || isBulkDeleteQuery.call(this)) { } else if (isBulkUpdateQuery.call(this) || isBulkDeleteQuery.call(this)) {
result = data.affectedRows result = data.affectedRows
} }
...@@ -197,7 +197,7 @@ module.exports = (function() { ...@@ -197,7 +197,7 @@ module.exports = (function() {
return this.options.type === QueryTypes.SELECT return this.options.type === QueryTypes.SELECT
} }
var isBulkUpateQuery = function() { var isBulkUpdateQuery = function() {
return this.options.type === QueryTypes.BULKUPDATE return this.options.type === QueryTypes.BULKUPDATE
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!