Mongodb Data Model Examples | Mongodb Schema Design

preview_player
Показать описание
Learn how to do correct Mongodb schema design to make it fast and scalable. Lot's of people just use document databases as relational which is completely wrong. You will see how to plan your schema on mongodb data model examples. We need to use benefits of mongodb and write correct Mongodb schema design.

TIMESTAMPS
0:00 Mongodb schema design
1:02 Mongodb is not a relational database
2:38 Mongodb data models
4:13 When to embed in Mongodb?
4:41 When to reference in Mongodb
6:17 Indefinite documents in Mongodb

FOLLOW ME

RECOMMENDED VIDEOS

MY COURSES
Рекомендации по теме
Комментарии
Автор

Man, you really deserve hundreds of thousands of subscribers. You not only teach how to code but how to be a complete engineer. Love your content, keep up the good work.

joaovictorcesa
Автор

I am starting a new social media project on mern for college project. Thanks for give this video which help me to build a better schema design. Thank dude🤗🤗

SanjuKumar-yexz
Автор

this was really insightful. I can't thank you enough

lemonyth
Автор

Your explanation is really good
but a question,
When you use reference, the best practice is to put the user Id in the book document
and every time you want a user's books
you just use find function in mongoose
but imagine you have millions of books
won't that function takes a long time to get a specific user's books ?

kuroisan
visit shbcf.ru