.prisma.[ ].create does not have this functionalit...
# orm-help
k
.prisma.[].create does not have this functionality. I used to use prisma.$exists.[] back in prisma 1
m
You can use a upsert or just use fetchOne before creating, and creating only if undefined
k
I'll use findOne. Upsert updates if the record exists. Thanks!
💪 1