Updating instance with multiple associations in Sequelize
问题 I am able to create records in my MySQL DB with sequelize and NodeJS. But now I am trying to update records in my Database. I have NodeJS as backend and my DB is MySql. Sequelize is my ORM. In Sequelize 5, I have a couple of classes: WorkOder, User (mechanic), Customer, Client and ExpertiseOffice. My datamodel is not complex, there are only 1:1 relations. A WorkOrder has one customer, one Client and one ExpertiseOffice. I use Postman to test my api's. With creating a WorkOrder with some