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
RaphaelEtim5w 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.