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

Commit e638d312 by Yogesh Choudhary

Aggregation query doc improvement

1 parent a3f8fcde
Showing with 1 additions and 1 deletions
...@@ -26,7 +26,7 @@ You can use `sequelize.fn` to do aggregations: ...@@ -26,7 +26,7 @@ You can use `sequelize.fn` to do aggregations:
```js ```js
Model.findAll({ Model.findAll({
attributes: [sequelize.fn('COUNT', sequelize.col('hats')), 'no_hats'] attributes: [[sequelize.fn('COUNT', sequelize.col('hats')), 'no_hats']]
}); });
``` ```
```sql ```sql
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!