Answer the question
In order to leave comments, you need to log in
What is the correct way to use Mongodb in this task?
Hello! I want to write an application that will store lectures in its database. I divided the structure of the base like this: Faculty -> Level of higher education -> Course -> Subject -> All lectures on this subject. (*) I want to be able to get data like this: For example, all faculties or all subjects for the selected faculty, higher level and course. In Mongodb, I have to create a collection of lectures, and each lecture will, in addition to some of its fields, have the fields Faculty, Level of higher education, etc. .. ? If so, how to do (*) , create separate collections for them ? How will it be in terms of speed? Maybe I'm misunderstanding something?
Block diagram:
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