📅  最后修改于: 2022-03-11 15:01:11.498000             🧑  作者: Mango
代码示例2
exports.getMinPrice = () => Item.findAll({ attributes: [[sequelize.fn('min', sequelize.col('price')), 'minPrice']], });