Sequelize.js - Generate field value on save

后端 未结 0 1958
执笔经年
执笔经年 2021-01-22 16:42

Currently I have an SQL query that generates a value for a column called seqid, based on its actual content:

INSERT into invoices(seqid) SELECT concat(year(CURDAT         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题