I have an Int field on a type and I want to batch ...
# orm-help
j
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
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
I did it with executeRaw. Any gotchas I should look out for with executeRaw?
h
No, that is a good fallback 🙂