Gezim
07/04/2022, 10:16 AMHarsh Singh
07/04/2022, 2:33 PMdeleteMany
, updateMany
and createMany
are all functions that run as batch transactions.
Prisma has a transactions guide which I'd suggest you refer to: https://www.prisma.io/docs/guides/performance-and-optimization/prisma-client-transactions-guide#bulk-operations
Along with this, there's more documentation referring to batch operations on the Prisma documentation as well: https://www.prisma.io/docs/concepts/components/prisma-client/transactions#batchbulk-operations