如何在Sequelize中創建推送值,類比SQL請求UPDATE table SET fields = fields + 'test'
?續集推送值
例子:
table.find({where: {id: 1}}).then(function(result) {
console.log(result.name); //returned 'abc'
})
//actions (+ 'test')
table.find({where: {id: 1}}).then(function(result) {
console.log(result.name); //returned 'abctest'
})
(對不起,我英文不好)