I am news to MongoDB. I am going to create a school management system. User have 3 roles: admin, student and teacher. Students have “parents” field and teacher, admin are not. Teacher has “classes” field and student, admin are not .Would I create 3 collection for 3 roles or 1 collection for easy to manage ?. Sorry for my bad english
1 Like
If new I recommend that you take M001, M121 and M320 from https://university.mongodb.com.
We could answer your questions one by one but you would be struggling all along to even comprehend some of the answers.
Most likely, I would create 3 collections but it depends on so many other factors.
1 Like