given we have a `Card` with a rating from a user, ...
# prisma-whats-new
b
given we have a
Card
with a rating from a user, we would also like to store the average of the ratings. How can we update the average dynamically so that the average is updated on any
createRating
or
updateRating
mutations?