👋 Hello,
I don't know how to perform bulk insertion, updation or deletion in Prisma for
GoLang
Or how to perform transaction for multiple records (insertion, updation or deletion) using
executeRaw
👀 1
✅ 1
n
Nurul
08/10/2022, 10:46 AM
Hey Deepak 👋
Quick Sidenote: Prisma Go Client is no longer officially maintained. The detailed discussion here: #707
This API reference should be helpful to you: Prisma Client GO API reference
👍 1
🙏 1
l
Luca
08/10/2022, 2:46 PM
@Deepak Guptha S You can do a bulk update with the existing update method .FindMany(…).Update(…), same goes for .FindMany(…).Delete() (deletes all records that match). Bulk insertion is only possible with transactions at this time.