PinkiePie
06/27/2022, 9:02 PMHarsh Singh
06/28/2022, 3:14 AMupdateMany function to update multiple entries at once 😄PinkiePie
06/28/2022, 5:48 AMHarsh Singh
06/29/2022, 3:14 PMnikolasburk
$transaction API to send multiple Prisma Client operations in a single batch: https://www.prisma.io/docs/concepts/components/prisma-client/transactions#sequential-prisma-client-operations Otherwise updateMany should also be a good option! Let me know if that helps or if you have further questions 🙂PinkiePie
07/04/2022, 11:59 AM$transaction runs a bunch of sequential requests, instead of batching. Seems like I really need a batching via $runCommandRaw or I'll have to use both Prisma and native mongo driver for the cases like this.