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

Commit 506f67df by Mick Hansen

make sure options are defined

1 parent 0f786c88
Showing with 2 additions and 0 deletions
......@@ -173,6 +173,8 @@ module.exports = (function() {
If you use a string, you have to escape it on your own.
*/
updateQuery: function(tableName, attrValueHash, where, options, attributes) {
options = options || {}
attrValueHash = Utils.removeNullValuesFromHash(attrValueHash, this.options.omitNull, options)
var query
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!