AM Coder - MongooseJS Course #4 - Mongoose Relationships (ObjectID and Populate)

preview_player
Показать описание

Follow on Twitter @alexmercedcoder

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

Been searchinig everywhere for how to fech the nested objectId, your video explained it perfectly. Thank you

lyda
Автор

You really explained populate very well

josephuzuegbu
Автор

Thank you, finally understood populate LOL

CristianIntriago_
Автор

Great tuto! Quite clear and simple. Good job :D

santiagotesta
Автор

Hey Alex, these tutorials are great! What I'm less sure about is how to deal with populating an array of objectIds. I always end up with an empty array '[ ]', both in my log and the Mongo shell. Your example works because you explicitly set the owner to the owner as a created variable, but populating a collection doesn't seem to work in the same way - any ideas?

jaybarls
Автор

i got a question. what if you want to search the dog by their owner name? how can i get that query?

pedrocajas
Автор

how did you customize your terminal kindly

hamisikandy
Автор

this doesnt work when saving dog
while owner has a unique key

adeniyitaofik