question: do you have to change any fields in upse...
# orm-help
d
question: do you have to change any fields in upsert? can you do, eg.,
prisma.account.upsert({where: {email: email}, update: {}, create: {email: email}})
and not modify but return the acocunt unchanged if it exists?
βœ… 1
n
Hello @Dave Edelhart πŸ‘‹ Yes, it’s possible, this essentially would replicate the behaviour of
findOneOrCreate
d
good to know thanks
πŸ™ 1