Тёмный

The Ultimate MongoDB Aggregation Guide: Make Your Queries Soar in One Video 

Engineering Digest
Подписаться 52 тыс.
Просмотров 70 тыс.
50% 1

🟡 Get 1 to 1 coaching with me: topmate.io/engineeringdigest
🟡 Donate: paypal.me/engineeringdigest
🟡 Perks: www.youtube.com/@EngineeringD...
🔴 Discord: / discord
🔴 Twitch: / engineeringdigest
🔴 Personal RU-vid Channel: / @thevipulvats
🔴 Instagram: / thevipulvats
🔴 Twitter: / thevipulvats
🔴 LinkedIn: / thevipulvats
🔴 Website: engineeringdigest.net
🔴 Video summary
This video is a comprehensive guide to MongoDB aggregation, where you'll learn how to use various aggregation operators to process data stored in MongoDB collections. You'll see how to use these operators to perform various data processing tasks such as filtering, transforming, grouping and summarizing data. The video aims to help you make the most out of your MongoDB queries, allowing you to extract insights and aggregate data more effectively. By the end of the video, you'll be equipped with the skills to confidently perform complex data processing tasks in MongoDB.
🔴 Timestamps
Intro 0:00

Опубликовано:

 

4 фев 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 153   
@EngineeringDigest
@EngineeringDigest 9 месяцев назад
Use this as sample data, it is not the same. But will do the work db.teachers.insertMany([ { "_id": 1, "name": "John Doe", "age": 35, "gender": "male" }, { "_id": 2, "name": "Jane Smith", "age": 40, "gender": "female" }, { "_id": 3, "name": "Michael Johnson", "age": 45, "gender": "male" }, { "_id": 4, "name": "Emily Williams", "age": 30, "gender": "female" }, { "_id": 5, "name": "Robert Brown", "age": 38, "gender": "male" }, { "_id": 6, "name": "Emma Jones", "age": 33, "gender": "female" }, { "_id": 7, "name": "William Davis", "age": 37, "gender": "male" }, { "_id": 8, "name": "Olivia Miller", "age": 41, "gender": "female" }, { "_id": 9, "name": "David Wilson", "age": 36, "gender": "male" }, { "_id": 10, "name": "Sophia Moore", "age": 32, "gender": "female" }, { "_id": 11, "name": "Richard Taylor", "age": 39, "gender": "male" }, { "_id": 12, "name": "Isabella Anderson", "age": 43, "gender": "female" }, { "_id": 13, "name": "Joseph Thomas", "age": 34, "gender": "male" }, { "_id": 14, "name": "Mia Jackson", "age": 42, "gender": "female" }, { "_id": 15, "name": "Charles White", "age": 36, "gender": "male" }, { "_id": 16, "name": "Abigail Harris", "age": 31, "gender": "female" }, { "_id": 17, "name": "Daniel Martin", "age": 44, "gender": "male" }, { "_id": 18, "name": "Evelyn Thompson", "age": 38, "gender": "female" }, { "_id": 19, "name": "Matthew Garcia", "age": 37, "gender": "male" }, { "_id": 20, "name": "Sofia Martinez", "age": 35, "gender": "female" }, { "_id": 21, "name": "Andrew Robinson", "age": 40, "gender": "male" }, { "_id": 22, "name": "Grace Clark", "age": 33, "gender": "female" }, { "_id": 23, "name": "Joshua Rodriguez", "age": 39, "gender": "male" }, { "_id": 24, "name": "Avery Lewis", "age": 42, "gender": "female" }, { "_id": 25, "name": "Christopher Lee", "age": 37, "gender": "male" }, { "_id": 26, "name": "Chloe Walker", "age": 31, "gender": "female" }, { "_id": 27, "name": "Kevin Hall", "age": 44, "gender": "male" }, { "_id": 28, "name": "Zoey Allen", "age": 38, "gender": "female" }, { "_id": 29, "name": "Brian Young", "age": 36, "gender": "male" }, { "_id": 30, "name": "Harper King", "age": 34, "gender": "female" } ])
@swapnilw.
@swapnilw. 8 месяцев назад
thank you for this document.
@datastructuresandalgorithm9370
@datastructuresandalgorithm9370 4 месяца назад
Thank you for it.
@sushilingole8448
@sushilingole8448 19 дней назад
Thank youu...
@manojmohapatra986
@manojmohapatra986 Год назад
Working as a developer from last 4 yrs but i didnt know some operators even exists.. thank you for your support . Watching your videos is like bliss af🎉
@EngineeringDigest
@EngineeringDigest Год назад
Welcome aboard! 😀
@poojagarva
@poojagarva Год назад
Your MongoDB playlist is absolutely fantastic! Your tutorials and explanations make it so easy to understand and follow. I've been searching for a reliable resource to learn MongoDB, and your playlist makes it easier for me to apply what I've learned to my own projects.
@EngineeringDigest
@EngineeringDigest Год назад
Thanks, this comment made my day :)
@maullikakbari8200
@maullikakbari8200 11 месяцев назад
one of the best aggregation tutorial available on youtube till now thank you sir.
@parmaryash4406
@parmaryash4406 Год назад
Finally found great video for mongodb aggregation queries, really thank you so much
@noedition1968
@noedition1968 8 месяцев назад
Such a beautiful information for mongodb pipeline. Thanks a lot for this valuable video ❤
@AnilKumar-fw8bw
@AnilKumar-fw8bw Год назад
Thank you for explaining in a simple way.
@InzamamMalik
@InzamamMalik 7 месяцев назад
Love you bro, being technical matters but you have got god gifted teaching skill along with technical competency. always spare some of your time for teaching. found your video very helpful and will recommend to others for sure. no click bate no gimmicks pure knowledge with nicely organised flow.
@EngineeringDigest
@EngineeringDigest 7 месяцев назад
Thanks a ton bro
@memekannada2901
@memekannada2901 Год назад
benifitted so much from this playlist..appreciate you sir!!
@EngineeringDigest
@EngineeringDigest Год назад
Most welcome!
@anshulsharma9424
@anshulsharma9424 Месяц назад
Sir all of you content is a gold mine for developers.
@sohammehta6614
@sohammehta6614 8 месяцев назад
Thank your very much for the great explanation!!
@tanmaychavan743
@tanmaychavan743 Год назад
Just please never stop making such amazing videos ❤❤
@user-yk6lk6oe3d
@user-yk6lk6oe3d Год назад
Fantastic, I learned a lot today
@DilipBoidya-bb3be
@DilipBoidya-bb3be 20 дней назад
I like your accent, your explanations and so i subscribed you. Keep posting more vids.
@nobitaa32
@nobitaa32 9 месяцев назад
Op sir first time aaya hu kya hi technique he aapki padhaneki
@user-fh5xd9pt2n
@user-fh5xd9pt2n 7 месяцев назад
wow...its very first time ,I am watching your videos but really....its awesome your way to convey the concept is literally different from other ..
@EngineeringDigest
@EngineeringDigest 7 месяцев назад
Thanks😀
@farukkhan6324
@farukkhan6324 Год назад
hey man awesome video loved they way you explain waiting for more videos. keep it up
@EngineeringDigest
@EngineeringDigest Год назад
Thanks a ton!
@mahirjain5833
@mahirjain5833 Год назад
Love your tutorials.Pls cover entire mongo db.
@ashwinchaudhary5730
@ashwinchaudhary5730 Месяц назад
Awesome explaination with multiple examples, thanks
@sadotore
@sadotore Год назад
vai, a big "THANK YOUUU" for u
@user-sh8pq7rm9p
@user-sh8pq7rm9p 6 месяцев назад
Subscribed, Your teaching style is something unique😊😊
@zeeshankalyar7693
@zeeshankalyar7693 Год назад
Thanks bhai jaan bahut hi achi video bnae hai apne
@VivekYadav-up7uu
@VivekYadav-up7uu 9 месяцев назад
easy and effective way to explain.
@cruzcreez65
@cruzcreez65 Месяц назад
Unique way of teaching.. no boringness ❤❤🎉🎉
@naimhasan5346
@naimhasan5346 Год назад
Bhai you are the best! Your teaching style is so unique and interesting. I love it ❤
@EngineeringDigest
@EngineeringDigest Год назад
Thank you so much 😀
@nemotivity
@nemotivity Год назад
Loved the video. Waiting for the next one. Keep making such awesome tutorials. ♥
@EngineeringDigest
@EngineeringDigest Год назад
Thanks a lot 😊
@pritimodanwal06
@pritimodanwal06 11 месяцев назад
very nice explain bro, before it i have little bit confusion regarding pipeline now clear thank you bro
@EngineeringDigest
@EngineeringDigest 10 месяцев назад
You are welcome
@stiphenrobert4469
@stiphenrobert4469 7 месяцев назад
Best mongodb tutorial on earth
@Rajugupta-gp2eg
@Rajugupta-gp2eg Год назад
Awaiting next video !!
@EngineeringDigest
@EngineeringDigest Год назад
Thanks bro, Please support us by sharing the channel with your colleagues 🤝
@datastructuresandalgorithm9370
@datastructuresandalgorithm9370 4 месяца назад
For last filter [ { "name": "Vinay", "age": 34, "scores": [22, 33, 4, 44, 55] }, { "name": "Alice", "age": 28, "scores": [10, 20, 30, 40, 50] }, { "name": "Bob", "age": 42, "scores": [15, 25, 35, 45, 55] }, { "name": "Emma", "age": 31, "scores": [18, 28, 38, 48, 58] }, { "name": "Chris", "age": 37, "scores": [12, 22, 32, 42, 52] }, { "name": "Sophia", "age": 29, "scores": [25, 35, 45, 55, 65] }, { "name": "David", "age": 36, "scores": [30, 40, 50, 60, 70] }, { "name": "Linda", "age": 45, "scores": [8, 18, 28, 38, 48] }, { "name": "Michael", "age": 27, "scores": [16, 26, 36, 46, 56] }, { "name": "Emily", "age": 33, "scores": [5, 15, 25, 35, 45] } ]
@kishankumar-ze5pf
@kishankumar-ze5pf 2 месяца назад
most underrated channel
@abhijeetkumarsingh2504
@abhijeetkumarsingh2504 Год назад
You Got A Subscriber, loved the way you explain 😂 🔥
@EngineeringDigest
@EngineeringDigest Год назад
Welcome aboard!😀
@taukirkhan3417
@taukirkhan3417 8 месяцев назад
Mza agya bro, enjoy and completely understand. Thanks
@EngineeringDigest
@EngineeringDigest 8 месяцев назад
Thank you brother, it will be a huge help if you can share this course on LinkedIn.
@Itsfayss
@Itsfayss 8 месяцев назад
thanks man : )
@SawanKumar-tr9xz
@SawanKumar-tr9xz Год назад
Best mongodb playlist ❤
@EngineeringDigest
@EngineeringDigest Год назад
Thanks! 😊 Join my Insta fam: @thevipulvats
@ummeed4365
@ummeed4365 Год назад
Excellent content bhai highly appreciate your efforts.
@EngineeringDigest
@EngineeringDigest Год назад
Thanks! 😊 You can join our discord or Insta @thevipulvats.
@rajverma5051
@rajverma5051 Год назад
Thank you sir ❤
@abuzubaer3083
@abuzubaer3083 8 месяцев назад
nice explanation
@cyrusthapa794
@cyrusthapa794 Год назад
bhaut hard XD : ) ❤‍🔥
@explorewithsatish1208
@explorewithsatish1208 Год назад
You doing awesome job do it continue 👌🎉❤️
@EngineeringDigest
@EngineeringDigest Год назад
Thank you so much 😁
@dhriteshkumar1786
@dhriteshkumar1786 Год назад
awesome explanation sir ❤
@EngineeringDigest
@EngineeringDigest Год назад
Thanks for liking
@raiyanabdurrehman1411
@raiyanabdurrehman1411 Год назад
Awesome Video..BTW any idea why the last problem's solution showing avgScores as null??
@03devrajtak7
@03devrajtak7 Год назад
how to use indexing for aggregation pipeline?
@mahirnasirbaghila9051
@mahirnasirbaghila9051 11 месяцев назад
Sir you are great
@jyotshnamanjari2372
@jyotshnamanjari2372 11 месяцев назад
You are wonderful. Can you please explain $reduce? Also can you please include datetime in your examples.
@shashanksingh4708
@shashanksingh4708 Месяц назад
can you do a video on these complex queries implemented using spring data mongoDB ?
@lifeusa2168
@lifeusa2168 3 месяца назад
Your videos are really awesome. I have one question How can we use two ids while grouping? Is it possible if yes then how. Can you please explain?
@shivamkatiyar2899
@shivamkatiyar2899 11 месяцев назад
Cool way of teaching.
@OCEMTechZone
@OCEMTechZone Месяц назад
Great🎉
@harsh__dev
@harsh__dev Год назад
Sir please provide the pdf/cheat sheet as well. By the way love your lectures
@shamimsarker839
@shamimsarker839 11 месяцев назад
Best 🔥🔥🔥🔥🔥🔥🔥
@anandatole6529
@anandatole6529 Год назад
explain in simple way. no complex. Thanks
@EngineeringDigest
@EngineeringDigest Год назад
Glad you liked it!
@aafibaloch654
@aafibaloch654 Год назад
Deserve more views and subscribers ❤
@EngineeringDigest
@EngineeringDigest Год назад
Thanks! 😊 Join my Insta fam: @thevipulvats
@user-cb5ef7vl5q
@user-cb5ef7vl5q Год назад
Bachpan me hum padhte the ..... 😆..Amazing videos bhai..helped alot.
@EngineeringDigest
@EngineeringDigest Год назад
Thanks 😀 *Instagram:* instagram.com/thevipulvats *Discord:* discord.gg/7e6WdBJ9dT
@arnavkaul7827
@arnavkaul7827 Год назад
Damn good lecture
@vivekkumaryadav9862
@vivekkumaryadav9862 6 месяцев назад
thanks bhaiya ji...ek video or aggregation completed ...:))
@EngineeringDigest
@EngineeringDigest 6 месяцев назад
Please consider sharing feedback on LinkedIn. 🙏🏻
@rajd2990
@rajd2990 Год назад
Amazing 👍👍
@EngineeringDigest
@EngineeringDigest Год назад
Thanks! 😊 Join my Insta fam if u haven’t already: @thevipulvats
@foodistan9311
@foodistan9311 Год назад
Please do a video on $lookup as well. BTW a great explanation.
@EngineeringDigest
@EngineeringDigest Год назад
Will do soon, Please support us by joining on Instagram or Discord 🙂
@foodistan9311
@foodistan9311 Год назад
@@EngineeringDigest Please. waiting for so long
@manojmohapatra986
@manojmohapatra986 Год назад
Dont know on the area you expertise on. But if you create some playlist on devops (as not much good resourse available) , gcp , aws etc. trust me uh ll be unbeatable. Mark my words
@SachinGupta-iy3sz
@SachinGupta-iy3sz 10 месяцев назад
Hey, Is there any platform available where we can practice mongodb queries.
@EngineeringDigest
@EngineeringDigest 10 месяцев назад
Check last video of the playlist
@JaiSreeRam466
@JaiSreeRam466 Год назад
Super anna ❤
@EngineeringDigest
@EngineeringDigest Год назад
Thanks! 😊 Join my Insta fam if u haven’t already: @thevipulvats
@Mehuldeveloper
@Mehuldeveloper 5 месяцев назад
Bro, can you help me? I'm working with a MongoDB database with 5 million records. When I fetch the total count based on sum or query, the query execution is becoming very slow.
@EngineeringDigest
@EngineeringDigest 5 месяцев назад
Watch indexing video in this playlist
@Mehuldeveloper
@Mehuldeveloper 5 месяцев назад
i've watched your video on indexing and have applied the techniques but due to large data collection giving same result is there any other techniques ? @@EngineeringDigest
@mikeplai4189
@mikeplai4189 Год назад
kamal
@AdarshSingh-mo1kc
@AdarshSingh-mo1kc 11 месяцев назад
his voice🔥🔥🔥🔥
@shubhamgupta-bl1tr
@shubhamgupta-bl1tr Год назад
nice video, transaction r bhi bha dijiye
@EngineeringDigest
@EngineeringDigest Год назад
Sure
@khawajamuhammadmushood5455
@khawajamuhammadmushood5455 9 месяцев назад
can someone explain me the use of dollar sign in aggregate quries
@EngineeringDigest
@EngineeringDigest 9 месяцев назад
it means you are going to use reserved keyword ( operator )
@mikeplai4189
@mikeplai4189 Год назад
great explaination but need more videos on aggregation with join collections
@EngineeringDigest
@EngineeringDigest Год назад
Will upload soon
@mikeplai4189
@mikeplai4189 Год назад
@@EngineeringDigest Thanks
@vinitph
@vinitph 20 дней назад
sir can you share your notes with us i would be very grateful
@watchprakhar
@watchprakhar Год назад
achcha samjhaya bhai apne
@watchprakhar
@watchprakhar Год назад
subscribed
@EngineeringDigest
@EngineeringDigest Год назад
Thanks! 😊 Join my Insta fam if u haven’t already: @thevipulvats
@user-yq6pw1ou3x
@user-yq6pw1ou3x 7 месяцев назад
if two student have same age and same hobbies then what will be output?
@EngineeringDigest
@EngineeringDigest 7 месяцев назад
friendship
@vaishalimandora8956
@vaishalimandora8956 Год назад
Sir is your playlist is sufficient to learn mongodb ...as a node js developer
@EngineeringDigest
@EngineeringDigest Год назад
It will help you to query the database directly and basic understanding of mongodb. Then you have to learn mongoose which makes node js to connect and query the database.
@preetilangayan6326
@preetilangayan6326 Год назад
Please make video on replication also.
@abhishekbisht3264
@abhishekbisht3264 5 месяцев назад
Bhaiya meine mongo db abhi start kara hai kuch tips dedo jisse mein issey achhe se seekh jaaun
@rahulmk8698
@rahulmk8698 20 дней назад
Hello Sir, Can you share your docs with us?
@prathameshhiremath1379
@prathameshhiremath1379 10 месяцев назад
Bhai really apka voice bahut katarnak hai
@EngineeringDigest
@EngineeringDigest 10 месяцев назад
Thanks :)
@mithilesh8349
@mithilesh8349 Год назад
Problem statement : In a Json file or Mongo there is an Object contains Company name and Gender, You Have to find the count of female and male in a seperate column for each company. ex: Company Male female A 22 10 B 20 18 C 10 30
@mithilesh8349
@mithilesh8349 Год назад
Help me to write the aggregation for better understanding
@mikeplai4189
@mikeplai4189 Год назад
const employees = await Employee.aggregate([ { $group: { _id: { companyName: "$companyName", gender: "$gender" }, count: { $sum: 1 }, }, }, { $project: { _id: 0, companyName: "$_id.companyName", gender: "$_id.gender", count: 1, }, }, ]);
@varunjaiswar5062
@varunjaiswar5062 9 месяцев назад
sir data dal te dal te , fatt gai mere , please provide data in description.
@mithleshkumar-ds9ex
@mithleshkumar-ds9ex Год назад
Sir Please database link
@ihtshamhaider6849
@ihtshamhaider6849 10 месяцев назад
wow method
@EngineeringDigest
@EngineeringDigest 10 месяцев назад
Many many thanks
@random2059
@random2059 11 месяцев назад
👋👋🙏🙏 _id kaise age ho sakta hai id to id hai , ( _id:"$age") age acting like _id keya ho rah hai inha pe thora samjhaye , please clear this confusion ???👋👋🙏🙏 thora dhundne par pata chala isko accumulator object bolte hai .... thora ispe v batye .. please reply
@EngineeringDigest
@EngineeringDigest 11 месяцев назад
05:19
@random2059
@random2059 11 месяцев назад
@@EngineeringDigest samjha to ye _id uo wala _id nahi nahi hai ye ac new _id banrahe ho age ke basis pea ? 🙏🙏🙏🙏 bata please do maine full video dekha hai note v bana raha hu .... mujhe 5:19 thora samaj nahi aya sir
@ShubhiK-ro8cl
@ShubhiK-ro8cl 2 месяца назад
Last query with filter is not working. Please add correct query here.
@EngineeringDigest
@EngineeringDigest 2 месяца назад
ok sir
@ShubhiK-ro8cl
@ShubhiK-ro8cl 2 месяца назад
No srsly.... it's returning null😶
@kunal_Jangra
@kunal_Jangra 9 месяцев назад
Plz provide this data you are using we can practice by using it
@EngineeringDigest
@EngineeringDigest 9 месяцев назад
done, check pinned comment
@vampirekabir
@vampirekabir Год назад
cant get it why 44 psychos disliked this such legendary video,absolutely fabulous, amazing
@SparkYourMindConnections
@SparkYourMindConnections Год назад
Best Video on internet❤‍🔥 Maza agya
@EngineeringDigest
@EngineeringDigest Год назад
Thanks 🙏 Consider joining our discord or Instagram.
@harshmehta1141
@harshmehta1141 Год назад
Bro Engineering Digest very unique and attractive name
@EngineeringDigest
@EngineeringDigest Год назад
Thanks 🙏
@vampirekabir
@vampirekabir Год назад
bro video on $facet and $bucket pls
@EngineeringDigest
@EngineeringDigest Год назад
just recorded, will upload next week
@vampirekabir
@vampirekabir Год назад
@@EngineeringDigest thanks, i always look for ur explanation teach in such clear and fun way
@swapnilw.
@swapnilw. 8 месяцев назад
i think u r from delhi😎
@EngineeringDigest
@EngineeringDigest 8 месяцев назад
Yess 🤓
@moosegoose1282
@moosegoose1282 Год назад
speak english
@code-with-me-2002
@code-with-me-2002 11 месяцев назад
bro college teacher ki taraha , line by line padhke hindi translate mat karo
@EngineeringDigest
@EngineeringDigest 11 месяцев назад
karunga
@ronakreddy8657
@ronakreddy8657 10 месяцев назад
@Music-ub2gc car racing krle tu.. galat jagah aa gya bodam
@sksayrilamed4087
@sksayrilamed4087 Год назад
aap ka smjhana acha hay but behavior thora accha kariya bate thora dhang say koriya bohot karush lagata hay ..lakin apnay best aggregation concept samjaya hay .-__-
@EngineeringDigest
@EngineeringDigest Год назад
bhai khadoos hi hu mai..real life me bhi😅
@SonuKumar-uq2rb
@SonuKumar-uq2rb 5 месяцев назад
kuch samaj ni aaya bekaar vedio.
@EngineeringDigest
@EngineeringDigest 5 месяцев назад
video*
@codecracker8856
@codecracker8856 4 месяца назад
​@@EngineeringDigestsir can u please provide notes ?
@datastructuresandalgorithm9370
@datastructuresandalgorithm9370 4 месяца назад
db.scoreDta.aggregate([{$group:{_id:null,avgScore:{$avg:{$filter:{input:"$scores" , as:"score",cond:{$gt:["$age",30]}}}}}}]);
@ShubhiK-ro8cl
@ShubhiK-ro8cl 2 месяца назад
Is it working for u?
@manikanth.8507
@manikanth.8507 2 месяца назад
​@@ShubhiK-ro8clLast time it was working.
@kaushikprajapati5540
@kaushikprajapati5540 2 месяца назад
@@manikanth.8507 Last time it was working
Далее
$bucket operator in MongoDB in Hindi
9:30
Просмотров 11 тыс.
🎙СТРИМ на 4 МИЛЛИОНА🍋
3:12:45
Просмотров 1,3 млн
Learn Mongodb aggregation pipelines
36:45
Просмотров 52 тыс.
Group sum and more |  MongoDB aggregation
12:56
Просмотров 13 тыс.
$lookup in MongoDB: How to Join Collections in MongoDB
12:25
Lookup in Mongodb aggregation
9:47
Просмотров 16 тыс.
MongoDB Crash Course
29:59
Просмотров 666 тыс.
Kubernetes 101 workshop - complete hands-on
3:56:03
Просмотров 1,6 млн
Learn Mongodb aggregation Pipelines | setup
19:59
Просмотров 61 тыс.
Mongoose Crash Course - Beginner Through Advanced
33:36