The data format
{
Id: "13547834876",
Value: 120.8,
Time: 2018-11-22 10:06:42. 660
}
Requirements:
Select the specified id, one day at a specified data, and the data aggregation calculation into 24 points by the hour (each hour corresponds to a point) list of values,
Under the guidance of the great god! Thank you!
CodePudding user response:
Embracing Mongo calculation "this article introduces some algorithms, may wish to consult