Answer the question
In order to leave comments, you need to log in
typegoose. How to calculate the average value of the data in the model?
I'm using mongoose, but because of typescript I installed typegoose and I want to calculate the average rating. Mongoose has a statics method where you can make an aggregate of the model. But typegoose doesn't have that. How can this be done?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question