Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

sequelize update

models.User.destroy({where: {userID: '유저ID'}})
  .then(result => {
     res.json({});
  })
  .catch(err => {
     console.error(err);
  });
Source by jongmin92.github.io #
 
PREVIOUS NEXT
Tagged: #sequelize #update
ADD COMMENT
Topic
Name
8+9 =