MongoDB Crash Course – Schemas and Relationships



MongoDB Crash Course – Schemas and Relationships

MongoDB Crash Course - Schemas and Relationships

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:
=====================
https://docs.mongodb.com/manual/core/data-modeling-introduction/

https://docs.mongodb.com/manual/applications/data-models-relationships/

https://docs.mongodb.com/manual/core/schema-validation/

YouTube Series Playlist:
========================
https://www.youtube.com/playlist?list=PLuGe-XRWqbNQHhIJXq5UfkzCB98vvw1m7

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
=================
https://www.thefullstackjunkie.com

Comments are closed.