is there a way to get an aggregate like SUM yet of...
# orm-help
r
is there a way to get an aggregate like SUM yet of a number field? Im thinking about how to best implement a rating system, where each rating can be between 1 and 5
w
Maybe you can be more specific on the backend you're implementing this on. But have a look at this, it might help... https://stackoverflow.com/questions/2324446/how-to-build-a-basic-and-simple-5-star-rating-system
r
oh im just using prisma cloud and graphql-yoga
but thanks, Ill take a look