MongoDB with Node.js - Linking two Collections, Populate Query, Joins in MongoDB

preview_player
Показать описание
First, we have to create a schema and reference the field that you want to link with other collections, then you can use the populate statement to find the data.

Got a question? Please share it in the comment section below and I will answer it for you.
--------------------------------------------------
*Get In Touch*
Рекомендации по теме
Комментарии
Автор

YouTube is amazing because it introduces us to such teachers!

relaxingnaturevibes
Автор

Excellent explaination straight to the Point without annoying & in simplest terms. Hats off to you bro.

faisalkhan-gyef
Автор

I was looking for the solution for more than an hour and then I found your video that really helped me

Thank you

vishwajeetsharma
Автор

This is EXACTLY what I was looking for... thanks for the compact video straight to the point!

valentepablo
Автор

Less than 5 minutes but well worth it. Thank you.

josuepimentel
Автор

This is really really insightful I would like you to make more such videos where you can show where do we need such linking of collections. You are amazing

Nikita-rbvd
Автор

well done, thank you this is exactly what I was looking for

lilithfirefly
Автор

damn I wish you made a whole video series about the app you're making, I'm interested in that otp i saw in the model

sabrinaescarrega
Автор

Thanks men, this is what I really looking for 🎉

klfilin.j
Автор

This is what I need, much appreciated.

SASA-feco
Автор

this solved my problem, thank you very much!!!

gabrielabarcaalzamora
Автор

Very Helpful content thx. Is there a way I could get access to the code from the video ? It helps me so much for my current project

tchoteudimitri
Автор

hello sir, This is exactly what I'm looking for about chat app so if you do not mind can u shares the codes

sinandinc
Автор

Exactly what i was looking for, thankyou. Also if you can make a video on how to do the same using aggregate

zaidm
Автор

Thanks. how do we make an update across multiple collections. What if there was a change in collection A which should also be updated in collection B?

jaggyjut
Автор

This is very helpful. If you don't mind can I have access tot he source code Thank you

ashiruhabeeb
Автор

Thanks for sharing, i have a question, it's possible using match in the populate to filter something i dont want?

dFxZg
Автор

so how we can get the list of messages of one user ? i do another example with user and products and always get an empty array of products in the user object

MahmoudTarek-pzrl
Автор

This solves my problem I almost wasted my 2 day

IRFAN
Автор

How do you print the requests the server is getting to the console? The get/put/post etc request lines.

Glennhulscher