Using increment on Decimal fields?
In the docs, it explicitly mentions atomic number operations like
However, I tried it on a
Part of my schema:
Query:
increment, decrement etc. only works on Float and Int. https://www.prisma.io/docs/orm/reference/prisma-client-reference#atomic-number-operationsHowever, I tried it on a
Decimal field, and it seems to work fine. Does that mean I can use it without any issues? Or are there any issues that could pop up?Part of my schema:
Query:
amountToUpdate is a string.