Closed lottamus closed 1 year ago
Is this option available on all database types?
I just checked and found that these databases don't have that option:
mongodb
sqlserver
So we shouldn't generate it in these cases
Released in https://github.com/omar-dulaimi/prisma-zod-generator/releases/tag/0.8.12
Thanks for the PR
Description
Currently the zod output for
CreateMany
queries is only including thedata
property, but Prisma also allowsskipDuplicates
.References
Prisma reference
https://www.prisma.io/docs/reference/api-reference/prisma-client-reference#createmany
Example output