pedroDarde2 anos atrás2 anos atrásTalvez te ajude: https://stackoverflow.com/questions/14845981/datetime-group-by-date-and-hour
pedroDardeAutorAutor2 anos atrás2 anos atráshttps://www.mongodb.com/docs/manual/reference/operator/aggregation/group/