Sequelize can't access model's method (Sequelize 6.5) - Cannot read property 'findAll' of undefined

前端 未结 0 606
感动是毒
感动是毒 2021-02-01 14:09

I have followed the Sequelize documentation, the database has been created successfully, but I can\'t access my model methods. When I log the Unit model, it only returning undef

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