Answer the question
In order to leave comments, you need to log in
Search for trending games by number of times played?
Hello, there is a list of games. And statistics on the number of times played per hour. If in some hour there were no played times for the game, then there is no record for this hour (not written with zero: { date: "2020-07-19 12:00", count: 0 } )
I need to display the top 10 trending games per day/week/month .
The question is where to look? what formulas to use?
[
{
gameId: 1,
plays: [
{ date: "2020-07-19 10:00", count: 5 }, { date: "2020-07-19 13:00", count: 8 }
]
}
]
Answer the question
In order to leave comments, you need to log in
The question is where to look? what formulas to use?y=kx+b
If you don't understand the answer, ask questions :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question