How to eager load with model name instead of model itself in sequelize

后端 未结 0 602
伪装坚强ぢ
伪装坚强ぢ 2020-12-22 01:44

I have the following code:

      const service = await Service.findByPk(req.params.service_id, {
        include: [
          {
            model: User,
              


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