Not get duplicates

Is there any way I can use db.createMany but let's say the prisma is like this
name: name1
subname: name2
name: name1
subname: name2
and if all things are the same to skip
1 Reply
thevalorised
thevalorised15mo ago
I'm not really sure what you want. Please reword your question to be more clear. You might also wanna check upsert. https://www.prisma.io/docs/concepts/components/prisma-client/crud#update-or-create-records
Prisma
CRUD (Reference)
How to perform CRUD with Prisma Client.
Want results from more Discord servers?
Add your server