Increment or Decrement value using Sequelize upsert()

后端 未结 0 1125
故里飘歌
故里飘歌 2020-11-29 07:56

In Sequelize I am using upsert() to insert a new row if it doesn\'t exist or increment one of its field values by some other value if it exists.

Inserting works fine

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