36. Using Projection to select Particular fields and also arrays using elemMatch, $, $slice- MongoDB

preview_player
Показать описание
In this video we will see how to project the particular fields in the documents and also arrays using elemeMatch, $ and $slice - MongoDB

If you like my video, please subscribe to my channel.

Join in the Telegram Group

My Playlists:
Angular CLI Complete Course Tutorial:
Angular UnitTesting Complete Course:

My Courses Playlist Page:

#mongodb #leelawebdev

Join this channel to get access to perks:
Рекомендации по теме
Комментарии
Автор

Very nice explanation. Can we do some thing like if tag is empty after elemMatch filters,
don't show the records.

mallikarjunc
Автор

I have been bouncing around for three days now, I know it shoul be easy but it seems is something not practiced by mongodb users and I just dont know why. I needed to get all the array fields at the same level as the parents columns and repeat the value of the parent columns for each sub-record of the array. To be used in an excel for a pivot table just so you know what is the purpose.

dexstar
welcome to shbcf.ru