Fix bug in Utils.format that ignore falsy values.
Previously this would affect where clauses, e.g: User.findAll({ where: ['foo = ?', 0]) Would translate into: SELECT * FROM `Users`.`foo` = ? Instead of: SELECT * FROM `Users`.`foo` = 0
Showing
with
1 additions
and
4 deletions
-
Please register or sign in to post a comment