Search
Get Started
P
Prisma
•
2y 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)
Prisma
Join
The official Discord server of Prisma! Find us online at prisma.io
9,605
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
SET
avg
=
(avg
+
newValue)
/
(count
+
1
)
SET
avg
=
(avg
+
newValue)
/
(count
+
1
)
Similar Threads
how do I do this upsert query in prisma?
P
Prisma / help-and-questions
16mo ago
How to setup multiple Prisma clients in combination with `prismaSchemaFolder`
P
Prisma / help-and-questions
15mo ago
Randomly Getting introspect operation failed Prisma accelerate
P
Prisma / help-and-questions
6mo ago
Prisma telemetry operation contains unaccounted for time
P
Prisma / help-and-questions
2y ago