如何在sequelize中实现MD5哈希?

时间:2018-03-02 06:22:23

标签: node.js sequelize.js

如何根据以下查询将MD5实现为sequelize。

 exports.getAllDivisions = (next) => {
      db.query(mysql.format('SELECT b.*,MD5(b.div_id) as UUID FROM divisions as b '), next);

    }

0 个答案:

没有答案