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

Commit c3ec6c50 by Hiroki.Ihoriya Committed by GitHub

docs(model-querying-basics): add missing comma (#12786)

1 parent a329bb76
...@@ -77,7 +77,7 @@ You can use [`sequelize.fn`](../class/lib/sequelize.js~Sequelize.html#static-met ...@@ -77,7 +77,7 @@ You can use [`sequelize.fn`](../class/lib/sequelize.js~Sequelize.html#static-met
Model.findAll({ Model.findAll({
attributes: [ attributes: [
'foo', 'foo',
[sequelize.fn('COUNT', sequelize.col('hats')), 'n_hats'] [sequelize.fn('COUNT', sequelize.col('hats')), 'n_hats'],
'bar' 'bar'
] ]
}); });
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!