top of page
Search
maximiliancoleman

Sequelize-upsert

May 8, 2019 — Question: Is there a way to do an upsert such that if the object already exists in the table but is soft deleted, it will just clear the deletedAt column?












sequelize-upsert


findOneAndUpdate Parameters are set in the method: {upsert: true, new: true} 。 In sequelize findOrCreate and findOrInitialize How to set parameters can not .... upsert({});. Signature for this method has been changed to Promise . First index contains upserted instance , ... 3925e8d270





2 views0 comments

Recent Posts

See All

Comments


bottom of page