Update database using Sequelize for existing field given in request Node.Js

前端 未结 0 1377
[愿得一人]
[愿得一人] 2021-01-18 21:32

How to update our model only for existing field given by client to our API?

Example:

User.update({‘name’: ‘value_1’, {‘email’: ‘value_2’,}.then().catch         


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