P
Prisma•9mo ago
Moderator

How can we do arbitrary atomic number operation in prisma?

Something like:
SET avg = (avg + newValue) / (count + 1)
SET avg = (avg + newValue) / (count + 1)
1 Reply
RaphaelEtim
RaphaelEtim•9mo ago
Hi @Moderator 👋 This is not supported by Prisma. The atomic operations supported can be seen in this section. Can you please open a feature request for this to be supported and document your usecase.

Did you find this page helpful?