P
Prisma•5mo 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•5mo 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.
Want results from more Discord servers?
Add your server