The first option. Here's an example from their docks. Model.findAll({ attributes: [[sequelize.fn('COUNT', sequelize.col('hats')), ...
確定! 回上一頁