Upsert vs findOrCreate #16926
Unanswered
rubek-joshi
asked this question in
Help & Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There is very little info in the docs regarding
upsert
. When should you use one over the other?upsert
happens in one single atomic database operation then why would you needfindOrCreate
? Shouldn't sequelize be encouragingupsert
moreover thanfindOrCreate
?Beta Was this translation helpful? Give feedback.
All reactions