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

Commit d58a73a0 by Martin Blumenstingl

Also handle DECIMAL (similar to the way FLOATs are handled).

This should fix min() and max() for postgres.
1 parent 670c0438
Showing with 1 additions and 0 deletions
......@@ -693,6 +693,7 @@ module.exports = (function() {
result = parseInt(result, 10);
break;
case DataTypes.FLOAT:
case DataTypes.DECIMAL:
result = parseFloat(result);
break;
case DataTypes.DATE:
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!