I have an Int field on a type and I want to batch update. Is there a simple way to update the int to current value + 1 using prisma client
h
Harshit
07/30/2019, 6:42 PM
Hey, batching is not supported in Prisma client v1 but it will be support in the new photon client.
Right now you will need to read the old value and need to increment it manually.
j
James
07/31/2019, 3:50 AM
I did it with executeRaw. Any gotchas I should look out for with executeRaw?