Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

update in sequelize

Your_model.update({ field1 : 'foo' },{ where : { id : 1 }});
Your_model.update({ field1 : 'bar' },{ where : { id : 4 }});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #update #sequelize
ADD COMMENT
Topic
Name
4+6 =