Sequelize error: hasMany is not a function

后端 未结 0 1430
陌清茗
陌清茗 2020-12-17 18:33

I am new to sequelize and node.js. Getting db.users.hasMany(projects) is not a function. When I comment these lines that define association, I get User.create is not a funct

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