Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

sequelize update record

//-- async
const result = await Table.update(
	{ column: 'new data value' }, 	// attribute
	{ where: {id: 123} }			// condition
);
 
PREVIOUS NEXT
Tagged: #sequelize #update #record
ADD COMMENT
Topic
Name
7+5 =