Answer the question
In order to leave comments, you need to log in
How would you recommend storing the data?
The task is as follows:
A normal MySQL database on a regular hosting
There are a certain number of users (> 200)
Each user has
# пример данных:
"user10" : {
"way": 15,
"trees": 10,
"songs": 7
}
Answer the question
In order to leave comments, you need to log in
Pushing json inside SQL is a game; choose either one or the other.
If the field names are not fixed, then like this:
date user var val
--------------------------------
2021-07-04 user10 way 15
2021-07-04 user10 trees 10
2021-07-04 user10 songs 7
https://en.wikipedia.org/wiki/Entity%E2%80%93attri...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question