MongoDB Crash Course - Schemas and Relationships

preview_player
Показать описание
Back with another MongoDB Crash Course video. Today we are looking at Data Schemas, Relationships and Schema Validation in MongoDB. These topics are important to know and understand to get started with planning your real world applications. I will be going through different examples in theory as well as showing you how it is done in the Mongo Shell.

Really hope you enjoy this video and if you did give this video a THUMBS UP and SUBSCRIBER 🤓🔥 for more content just like this.

MongoDB Topics Docs:
=====================

YouTube Series Playlist:
========================

Timestamps:
============
0:00 Intro
0:40 What is a Schema
2:28 Different Schema Approaches
5:25 Looking at Data Types
7:57 Data Type in Action
14:22 Different Relationship Types
16:30 Embedded Example 1
17:47 Reference Example 1
21:04 Embedded Example 2
21:48 Reference Example 2
26:29 Merging with $lookup example
32:13 Talk about when to use which relationship type
34:55 What is Schema Validation
35:50 How to add Schema Validation
46:00 Outro

My personal website
=================
Рекомендации по теме
Комментарии
Автор

thank you, man! The best MongoDB explanations on YouTube

andreydenisov
Автор

bro u are amazing know i started following ur courses

ngcoder
Автор

great way of teaching. your explanations really help me

jamiroquaiordie
Автор

great decision to use the terminal which has no color highlighting or anything to make it more readable 👍

okoiful
Автор

All of your videos have been great so far. Would love to see one on Rest with json using node + react but not complaining lol. Thank you so much!

MrKrzysztof
Автор

Your teaching skill is very exceptional, liked and subscribed, keep posting and sharing.

hemsblr
Автор

Thank you so much. I was struggling with learning reference approach but you made it completely clear to me.

adityasagar
Автор

Wow such an excellent video everything was well explained and I learned alot, instantly subscribed. Are you from south africa you've got the cape town accent

mbm
Автор

Aiming to be a full stack dev like you !

chess
Автор

Excelent video, can you try to do more complex and advance agreggations ?

therodri
Автор

Quick question, why would I ever have Item referenced in sales with its price. The Item price would change eventually.. what do you suggest?

groundtouche
Автор

wow a full crash course. Thanks. Could you create a tutorial on how to handle an update across two or more collections using a single query. For example if we have a users and posts collection and if we update the username in the users collections, the username in the posts collection should also get updated.

jaggyjut
Автор

thank you so much for this video, I was looking for $loopups and how ref relation works and you solved my issue.
but I have a question, can you suggest to me which approach I should need to use for a money wallet
like every user have a wallet, so should I link users with the ref approach or embedded approach??

ayeshazahid
Автор

i should have find this video earlier :))

mdmohiuddin
Автор

Hello bro, how to create a user-users data relationship on MongoDB? In my example, I have users and articles. I want to be able to give every user permission to add article and list and update all his added articles. How do I connect those?

emanuelmaricic
Автор

newbie question. I see organizations and projects in mongodb, then of course databases in projects etc. If I create a new web application for instance and I call it "workoutApp", do I create a new project named "workoutApp" and place all my db in my project or do I create and organization named 'workoutApp". in which case would I create a new organization ?? thanks

frenchmike
Автор

Are the same functionalities available in Mongoose?

kevgits
Автор

Can't miss a fellow South African accent 😉

juleswinnfield
Автор

is there a validaor generator online, writing all this code is time taking mess

vadapallichaitu
Автор

Hi Lloyd, can I contact you via email, or do you prefer using your YouTube channel?

kyleoliver