Does prisma client do any query/insert batching? I...
# orm-help
g
Does prisma client do any query/insert batching? I’m still using TypeORM along side Prisma and getting weird behaviour (I think), where a Prisma insert doesn’t appear in a TypeORM query. Thoughts?
1
h
Hey Gezim 👋 Prisma supports batch and bulk operations.
deleteMany
,
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