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

Commit 35a626c0 by Benjamin August

fix indentation

1 parent b30e4980
Showing with 5 additions and 5 deletions
...@@ -614,11 +614,11 @@ module.exports = (function() { ...@@ -614,11 +614,11 @@ module.exports = (function() {
[this.sequelize.fn('COUNT', col), 'count'] [this.sequelize.fn('COUNT', col), 'count']
] ]
if(options.distinct) { if(options.distinct) {
options.attributes = [ options.attributes = [
[this.sequelize.fn('COUNT', this.sequelize.fn('DISTINCT', col) ), 'count'] [this.sequelize.fn('COUNT', this.sequelize.fn('DISTINCT', col) ), 'count']
] ]
} }
options.includeIgnoreAttributes = false options.includeIgnoreAttributes = false
options.limit = null options.limit = null
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!