findAll({attributes: [[Sequelize.literal('DISTINCT `key`'), 'key'], 'value']});. (使用Sequelize v2.1.0测试). 编辑2015-06-08:仍适用于Sequelize v3.1.1.
確定! 回上一頁