Friday, 14 April 2017

sequelize js Refer to colum value

I want to update colum value by it's previous vlaue, i tried this way in update query

v_email:'del-'+moment().format("YYYY-MM-DD HH:mm:ss")+"-"+ model.sequilize.literal('v_email')

but in database it update with value like this "del-2017-04-15 11:29:57-[object Object]"



via sarang pathak

No comments:

Post a Comment