MongoDB Crash Course - Schemas and Relationships

  Рет қаралды 43,619

The Full Stack Junkie

The Full Stack Junkie

Күн бұрын

Пікірлер: 52
@the_full_stack_junkie
@the_full_stack_junkie 3 жыл бұрын
Github Link to Schema Validation: github.com/LloydJanseVanRensburg/SchemaValidationFiles/tree/master
@andreydenisov1451
@andreydenisov1451 Жыл бұрын
thank you, man! The best MongoDB explanations on KZbin
@ngcoder
@ngcoder Ай бұрын
bro u are amazing know i started following ur courses
@the_full_stack_junkie
@the_full_stack_junkie 11 күн бұрын
Glad to hear that
@jamiroquaiordie
@jamiroquaiordie 2 жыл бұрын
great way of teaching. your explanations really help me
@MrKrzysztof13
@MrKrzysztof13 3 жыл бұрын
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!
@the_full_stack_junkie
@the_full_stack_junkie 3 жыл бұрын
I do have other videos on my channel where i do what you are looking for enjoy thanks fir the comment🤘🤓
@hemsblr
@hemsblr 3 жыл бұрын
Your teaching skill is very exceptional, liked and subscribed, keep posting and sharing.
@okoiful
@okoiful 9 ай бұрын
great decision to use the terminal which has no color highlighting or anything to make it more readable 👍
@mbm6048
@mbm6048 2 жыл бұрын
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
@the_full_stack_junkie
@the_full_stack_junkie 2 жыл бұрын
Hey champ, jip I am from SA🇿🇦
@mbm6048
@mbm6048 2 жыл бұрын
@@the_full_stack_junkie Cool I'm from Durban. Keep it up man
@adityasagar206
@adityasagar206 2 жыл бұрын
Thank you so much. I was struggling with learning reference approach but you made it completely clear to me.
@SanjayKumar-un7xf
@SanjayKumar-un7xf 2 жыл бұрын
Really excellent expatiation 👍
@h_nooh7390
@h_nooh7390 3 жыл бұрын
Awesome, thanks
@groundtouche
@groundtouche Жыл бұрын
Quick question, why would I ever have Item referenced in sales with its price. The Item price would change eventually.. what do you suggest?
@therodri595
@therodri595 3 жыл бұрын
Excelent video , can you try to do more complex and advance agreggations ?
@the_full_stack_junkie
@the_full_stack_junkie 3 жыл бұрын
Will definitely look into this thanks for the comment!
@jaggyjut
@jaggyjut 3 жыл бұрын
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.
@mohdhasib305
@mohdhasib305 Жыл бұрын
hey i am stuck in same problem. did you resolve it?. If yes, please share link of the tutorial here.
@chess4964
@chess4964 3 жыл бұрын
Aiming to be a full stack dev like you !
@ayeshazahid2421
@ayeshazahid2421 3 жыл бұрын
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??
@the_full_stack_junkie
@the_full_stack_junkie 3 жыл бұрын
Hey man so basically this is whete mongodb shines there isnt really a right or wrong approach to your problem. But again i dont really know how the wallet works if it record only a balance then embedded should work fine. If you save transaction details then go for ref approach
@ayeshazahid2421
@ayeshazahid2421 3 жыл бұрын
@@the_full_stack_junkie thank you soo much , i didn't expect to get reply so fast
@the_full_stack_junkie
@the_full_stack_junkie 3 жыл бұрын
All good champ, I had little time on my hands💪🤓
@ayeshazahid2421
@ayeshazahid2421 3 жыл бұрын
@@the_full_stack_junkie hello sir I have one more question, can you tell me what the difference between $lookup and .populate(). if we take your example then can we use .populate() too?? and which one best Thanks in advance
@the_full_stack_junkie
@the_full_stack_junkie 3 жыл бұрын
The $lookup is if you want to use the native mongodb driver aggregation api. And populate is a built in mongoose method that does the same but you are using mongoose implementation
@kaybeek6417
@kaybeek6417 2 жыл бұрын
It's perfect!
@AnkitBhardwajjgd
@AnkitBhardwajjgd 3 жыл бұрын
thanks
@frenchmike
@frenchmike 3 жыл бұрын
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
@the_full_stack_junkie
@the_full_stack_junkie 3 жыл бұрын
Hey man so this is personal preference. I would do it as creating a organization for production apps and one for development apps. This is just my way of organizing my mongo atlas instances.
@frenchmike
@frenchmike 3 жыл бұрын
@@the_full_stack_junkie thanks
@emanuelmaricic9657
@emanuelmaricic9657 2 жыл бұрын
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?
@bruh8731
@bruh8731 3 жыл бұрын
gold
@mdmohiuddin3141
@mdmohiuddin3141 3 жыл бұрын
i should have find this video earlier :))
@kevgits
@kevgits 3 жыл бұрын
Are the same functionalities available in Mongoose?
@the_full_stack_junkie
@the_full_stack_junkie 3 жыл бұрын
Yes you can write vanilla Mongo Query Language in mongoose they do allow it yes.
@juleswinnfield9931
@juleswinnfield9931 Жыл бұрын
Can't miss a fellow South African accent 😉
@the_full_stack_junkie
@the_full_stack_junkie Жыл бұрын
🇿🇦
@juleswinnfield9931
@juleswinnfield9931 Жыл бұрын
@@the_full_stack_junkie whoops just realised I spelled it wrong.
@vadapallichaitu8799
@vadapallichaitu8799 2 жыл бұрын
is there a validaor generator online, writing all this code is time taking mess
@Vlad-us9xt
@Vlad-us9xt 3 жыл бұрын
top!!!
@KeithWhittingham
@KeithWhittingham 3 жыл бұрын
What ever happened to 3NF?..
@the_full_stack_junkie
@the_full_stack_junkie 3 жыл бұрын
You can still normalize your data in the same way you would with SQL databases.
@pavanilla4374
@pavanilla4374 3 жыл бұрын
😎😎
@the_full_stack_junkie
@the_full_stack_junkie 3 жыл бұрын
Hope this is helpful, will be uploading next 3 sections in this week.
@pavanilla4374
@pavanilla4374 3 жыл бұрын
@@the_full_stack_junkie very much excited Noted ❤❤
@math-6401
@math-6401 3 жыл бұрын
you'r beautiful ! 3
@kyleoliver8142
@kyleoliver8142 2 жыл бұрын
Hi Lloyd, can I contact you via email, or do you prefer using your KZbin channel?
@the_full_stack_junkie
@the_full_stack_junkie 2 жыл бұрын
www.thefullstackjunkie.com Shoot me an email
@animania3618
@animania3618 2 жыл бұрын
may I know how you query and populate the items:[], you didn't show how to lookup and populate the items with array of objects 🥹
MongoDB Schema Design Best Practices
50:39
Joe Karlsson
Рет қаралды 173 М.
MongoDB Crash Course - Basic CRUD Operations
28:04
The Full Stack Junkie
Рет қаралды 9 М.
Perfect Pitch Challenge? Easy! 🎤😎| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 86 МЛН
Data Modeling with MongoDB
34:56
MongoDB
Рет қаралды 110 М.
Mongoose Crash Course - Beginner Through Advanced
33:36
Web Dev Simplified
Рет қаралды 479 М.
Prisma Crash Course
36:41
Traversy Media
Рет қаралды 72 М.
How To Use MySQL with NodeJS
48:44
The Full Stack Junkie
Рет қаралды 109 М.
Advanced Schema Design Patterns
43:15
MongoDB
Рет қаралды 45 М.
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 213 М.
MongoDB Crash Course
29:59
Web Dev Simplified
Рет қаралды 708 М.
Database Sharding and Partitioning
23:53
Arpit Bhayani
Рет қаралды 96 М.
MongoDB Crash Course 2022
27:22
Traversy Media
Рет қаралды 203 М.
Schema Design Anti-Patterns - Part 1
20:39
MongoDB
Рет қаралды 56 М.