Sequelize Create Entry After Entry Creation Not Working

前端 未结 0 1553
走了就别回头了
走了就别回头了 2021-01-07 14:55

This is my code:

models.role
    .findAll({where:{[Op.and]: [{roleName: \'admin\'},{roleName: \'registered\'}]}})
    .then(async r => {
        if(r.lengt         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题