diff --git a/lib/dao.js b/lib/dao.js index 81e943ea..9527d17d 100644 --- a/lib/dao.js +++ b/lib/dao.js @@ -1530,6 +1530,8 @@ DataAccessObject.updateAll = function (where, data, options, cb) { try { where = removeUndefined(where); where = Model._coerce(where); + data = removeUndefined(data); + data = Model._coerce(data); } catch (err) { return process.nextTick(function () { cb(err);