I have a MongoDB database containing a series of values including a Number field, I wish to get the maximum number, minimum and average. How is the best way to do this using mongoosejs and nodejs?
Asked
Active
Viewed 943 times
1 Answers
0
I recomend you to use "agregation".
Here you can find some examples: SQL to Agregation
I hope it helps. Regards,

Sebastian Bromberg
- 31
- 3