如何在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'
})
(对不起,我英文不好)