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

Commit ffbf373f by Mick Hansen

Merge branch 'master' of github.com:sequelize/sequelize

2 parents 94032ce3 54593b36
Showing with 1 additions and 1 deletions
...@@ -316,7 +316,7 @@ module.exports = (function() { ...@@ -316,7 +316,7 @@ module.exports = (function() {
// Bit fields are returned as buffers // Bit fields are returned as buffers
value = value[0]; value = value[0];
} }
value = !!value; value = _.isString(value) ? !!parseInt(value) : !!value;
} }
if (!options.raw && originalValue !== value) { if (!options.raw && originalValue !== value) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!