Sequelize query to include table that has an association with another table

前端 未结 0 1333
长发绾君心
长发绾君心 2020-12-15 03:16

I have a postgres db that I query using Sequelize. The associations are as follows:

db.bookings.belongsTo(db.users);
db.bookings.belongsTo(db.vehicles);
db.ve         


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