Answer the question
In order to leave comments, you need to log in
How to design a database in mongoDB?
Briefly about the structure of the site: there are 5 sections, each section has 10-15 subsections, each subsection has up to 10 topics.
Each topic is assigned an article, each article has a short test of 10 questions. The article and the test for this article are displayed on a separate page together.
How is that an option?
Razdel = {
subrazdelu: [{"theme1", "article1", [test1] }, {"theme2", "article2", [test2] }, {"theme3", "article3", [test3] }],
}
It is confusing that a massive, hard-to-manage structure is obtained, tk. articles can have up to 2000-3000 characters, and tests also have a massive structure.
How would all this be correctly put into mongodb?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question