Complete MongoDB aggregation pipeline course

Ойын-сауық

Welcome to a youtube channel dedicated to programming and coding related tutorials. We talk about tech, write code, discuss about cloud and devops. That’s what we do all day, all year. We roll out a lot of series and videos on our channel.
All the learning resources such as code files, documentations, articles and community discussions are available on our website:
chaicode.com/
You can find our discord link, github link etc on the above website.
Twitter/X link: x.com/hiteshdotcom
Discord link: hitesh.ai/discord
Learn React with 10 projects: • Let's learn react from...
Learn Docker: • A practical guide on D...
Learn Kubernetes: • Complete Kubernetes Co...
How does a browser works: • How does a browser wor...
How nodejs works: • How node JS works | En...
Learn Redux-toolkit: • Learn Redux Toolkit in...
Learn NextJS: • Nextjs Full stack course
Learn Typescript: • Why to learn Typescript
Learn Javascript: • Welcome to new JavaScr...
Learn React Native: • React Native Mastery: ...
Learn Zustand: • React state management...
Learn Golang: • How to get started wit...

Пікірлер: 84

  • @HiteshChoudharydotcom
    @HiteshChoudharydotcom6 ай бұрын

    Just a quick note, you can use any data for this video. I don't own this data. Half of it was taken from online and half of it was generated by ChatGPT. Data is not important here, these questions and use cases are important and these were were totally designed by me. Thanks and please share 😁 gist.github.com/hiteshchoudhary/a80d86b50a5d9c591198a23d79e1e467

  • @tanishkagupta6864
    @tanishkagupta68642 ай бұрын

    I don't understand what kind of content people want in the world of paid classes? These videos are totally free. is this the reason of not getting credit? Let's appreciate his explanation and please show some support i don't want him to stop making videos.

  • @tarunbidaliya9438
    @tarunbidaliya94386 ай бұрын

    Some additional tips 1) Always think TWICE when you are using operators like "$unwind' because it is very costly operator because it creates multiple copies of a same documents. Try to think some other possible solution. Some costly operators are: "$lookup", "$unwind", "$facet", etc. 2) It is a best practice to use $project after the $group stage in the pipeline because "by default, mongodb return a BSON object and not a JSON object" and BSON object have more properties than a JSON object. So using the $project, you can get the JSON object You can study this point for more knowledge. 3) If the size of your document is big, then always use ".allowDiscUse(true)" in your aggregation pipeline. 4) When dealing with larger chunks of data, use "cursor" and "batchSize" approach.

  • @CookerSingh

    @CookerSingh

    6 ай бұрын

    Although not always used, the .allowDiskUse(true) option causes MongoDB to create temporary files on disk and use these files to perform aggregation operations. Since disk I/O is much slower than memory I/O, In some cases, allowing disk usage may strain performance.

  • @DineshPawartech

    @DineshPawartech

    6 ай бұрын

    Ya using unwind can cuases problem too so for that need to know about arrayElment like operators ,the point you are saying totally aggree with that

  • @arindamdan8689

    @arindamdan8689

    29 күн бұрын

    tx for this information i never know that and I use this operators in many queries from now on I will mind this things before using

  • @paulfleischer-djoleto4429
    @paulfleischer-djoleto442926 күн бұрын

    I'm quite impressed with this video. I tried learning the MongoDB aggregation pipeline two years ago. I could not grasp it. With this video, I am confident to apply it to my Node.js backend projects with ease. It has also helped to learn how to use the MongoDB docs. With this, I will watch your other videos due to your easy way of teaching. More grease to your elbow.

  • @pasej5
    @pasej55 ай бұрын

    This is gold. This is the best tutorial on MongoDB out there. It is nice and easy to follow thank you, bro🙏🙏

  • @Khedhar108
    @Khedhar1085 ай бұрын

    "08:30" - Create collection in Mongodb cluster and inserting data via Mongodb extension from vs code "15:14" - How to use aggregation pipeline inside Mongodb * Use $ sign with operator and field name* "18:38" - count operator with match "31:19" - sum with grouping avoid count "48:46"- Avoid using count with group bad "22:15" - grouping by _id with "$filed" "24:06"- grouping all by null "24:42" - grouping and getting avg via $avg "33:02" - filtering on 2nd stage via sort " 35:36" - summarizing questions "51:52" - Nested drilling and sorting and limiting***

  • @rodgersmora1881

    @rodgersmora1881

    3 ай бұрын

    question is, how do we put it in code if you are using node.js for example?

  • @mutharasum9507
    @mutharasum95075 ай бұрын

    You taught me about pipeline aggregation in mongo db with detailed explanation....🎉 Thanks 🎉

  • @webhook4729
    @webhook47295 ай бұрын

    Gratitude to Hitesh Choudhary for the insightful MongoDB aggregation pipeline tutorial! His expertise and clear explanations have been instrumental in enhancing my understanding of this powerful feature. Thank you, Hitesh, for your valuable contribution to the developer community!"

  • @albertoiong6895
    @albertoiong68955 ай бұрын

    You help me a lot in learning MongoDB operations besides those for CRUD. I am more confident in using aggregation pipeline to collect statistic information now. Thanks you for your work! Expecting your new video on Tailwindcss...

  • @theindianmoviemantra5256
    @theindianmoviemantra52565 ай бұрын

    This is best video to learn MongoDB pipeline. Thankyou sir.........

  • @Nitesh_Saini_
    @Nitesh_Saini_6 ай бұрын

    Guruji aapki is series ki first video se hi dekh rha hu

  • @DanielAdekunle-wn6pv
    @DanielAdekunle-wn6pv17 күн бұрын

    thank you very much for sharing, this is very very very very insightful, you 've just saved me a lot of time of wondering up and down to understand aggregation pipeline

  • @nehabansal370
    @nehabansal3704 ай бұрын

    Thanks for your unique way of tutorials, with practical implementation and assignments. Learnt MongoDB and feeling confident in same. Also this helped me in Javascript Backend assignment. Really liked your way of teaching 😇

  • @oumaimabenjouida6724
    @oumaimabenjouida672426 күн бұрын

    First, thank you for your excellent explanation, I loved the course, enjoyed it a lot, and learned from it. but I would like to add a point, you said at the beginning of the course that this tutorial is for beginners which is not necessary because, this is my first time studying MongoDB aggregation and MongoDB in general, but I do have a background in Software Enginnering. However, I find the course perfect for first learning and global all the basics needed to start working with MongoDB Aggregations, but not enough for more advanced and complex queries. so I recommend you to add a course for advanced and complex queries. we will appreciate it a lot. Thank you!!!

  • @thanhquachable
    @thanhquachable6 ай бұрын

    Hi Hitesh, thank you for such an informative video about MongoDB Aggregration. I am new to MongoDB and this is very helpful. For those who want to take it step further to display only the author_name instead of the whole object 🤓 : [ { $lookup: { from: "authors", localField: "author_id", foreignField: "_id", as: "author_details" } }, { $addFields: { author_details: {$arrayElemAt: ["$author_details", 0]} } }, { $addFields: { author_name: "$author_details.name" } }, { $project: { author_name: 1, id: 1, genre: 1, author_id: 1, title: 1 } } ]

  • @imaginewithrahul
    @imaginewithrahul3 ай бұрын

    Great video on aggregation. Thank you Hitesh! I think we can have more scenarios like operations on array of objects (and when some fields don't exist in some documents). These are more challenging in real life.

  • @mainakmukhrjee6328
    @mainakmukhrjee63286 ай бұрын

    Nice video sir! Will surely implement this in my side project!

  • @saadsohail8204
    @saadsohail820418 күн бұрын

    Amazing way of teaching. Thank you so much!

  • @shivamprasad-jm3bg
    @shivamprasad-jm3bg6 ай бұрын

    omg, I can't believe this is the best video on MongoDB aggregation pipeline

  • @AmpulsePerspectives-og4ei
    @AmpulsePerspectives-og4ei6 ай бұрын

    Guruji aap aap mahaan hoo❤❤

  • @manojbhamre6062
    @manojbhamre60623 ай бұрын

    This is understated series...u made aggression so easy ❤❤

  • @ImthiazRagib-mn2oc
    @ImthiazRagib-mn2ocАй бұрын

    You are a career maker. love from UAE

  • @josemfcheo
    @josemfcheo6 ай бұрын

    I just needed this! thanks so much!

  • @vaibhav_prajapat_7725
    @vaibhav_prajapat_77252 ай бұрын

    Thank you sir. This vid took my mongo knowledge at next level ❤❤

  • @anonyone8834
    @anonyone88346 ай бұрын

    I think you taught aggregtion better in english compared to tut on chai aur code

  • @MOSELEY_DEV
    @MOSELEY_DEV2 ай бұрын

    This video is awesome 😁😁 Thanks Hitesh

  • @shanthoshkumar57
    @shanthoshkumar574 ай бұрын

    you have nailed it, Bro! ❤‍🔥

  • @ankishkhandelwal1061
    @ankishkhandelwal106128 күн бұрын

    this can be another way the question Q. number of users which have "ad" as a tag at index 2 [ { $unwind: { path: "$tags", includeArrayIndex: "arrayindex", }, }, { $match: { $and: [ { arrayindex: 1, }, { tags: "ad", }, ], }, }, { $count: 'users' } ]

  • @jatin_9911
    @jatin_99115 ай бұрын

    thank you sir ♥ ♥ The video helped me a lot to complete your JS backend assignment. Your ChaiAurBackend series is awesome, too

  • @sidhantdhyani9567
    @sidhantdhyani95675 ай бұрын

    At 49:18 , Just wanted to tell, We can count No. of males and females using this also [ { $group: { _id: '$gender', count: { $count: {} } } } ] But $count is generally used for counting no of documents in a stage.

  • @dasmala9175
    @dasmala91756 ай бұрын

    Excited 🎉

  • @VishalKumar-je1gq
    @VishalKumar-je1gq6 ай бұрын

    I am not able to find any good D3 js tutorial video ?? Any suggestions.

  • @techjagat4714
    @techjagat47142 ай бұрын

    Thanks a lot sir for this tutorial❤❤

  • @Amir-tt8qw
    @Amir-tt8qw4 ай бұрын

    Thanks for the tutorial ❤.

  • @Md.BulbulAhammed
    @Md.BulbulAhammed3 ай бұрын

    Thank you sir, for important tutorial

  • @AshutoshSingh-fy2xc
    @AshutoshSingh-fy2xc6 ай бұрын

    Sir, I am not able to access lco app and website.Its saying contact Admin.Please help

  • @Zara-pn9im
    @Zara-pn9im27 күн бұрын

    thank you so. much sir

  • @rishiraj2548
    @rishiraj25486 ай бұрын

    Great! Thanks.

  • @nigam_sharma
    @nigam_sharma6 ай бұрын

    Its amazing ❤

  • @DevLife_in
    @DevLife_in6 ай бұрын

    Helpful, Thanks 🤟🤘

  • @shehza-d
    @shehza-d6 ай бұрын

    Where can i get the list of questions??

  • @CrittiZops
    @CrittiZops6 ай бұрын

    Sir can you make a video on Docker & K8s? That would be really helpful :)

  • @vinod-ci5gy
    @vinod-ci5gy6 ай бұрын

    Thank you sir ❤

  • @Shiv_Kumar_Singh__
    @Shiv_Kumar_Singh__6 ай бұрын

    thank you sir :)

  • @friderichwisniewski8154
    @friderichwisniewski81545 ай бұрын

    we want more videos on MongoDB Aggregation Pipeline

  • @sujaysaha7429
    @sujaysaha74296 ай бұрын

    Sir 1 on 1 kese baat kr skte hai aap se ?

  • @aroobazaman2939
    @aroobazaman2939Ай бұрын

    best video

  • @mozammilpagal6876
    @mozammilpagal68766 ай бұрын

    hii sir love from chai aur code😃😆

  • @r1shabhnegi
    @r1shabhnegi4 ай бұрын

    great tutorial tysm

  • @mdmnbp1183
    @mdmnbp11835 ай бұрын

    great course

  • @sandipshrestha5342
    @sandipshrestha53426 ай бұрын

    Thanks ❤❤

  • @shivarajbandaru2216
    @shivarajbandaru22166 ай бұрын

    east or best bhai is best

  • @user-cm8es2lv4e
    @user-cm8es2lv4e4 ай бұрын

    nice video

  • @davidmukoro1166
    @davidmukoro11666 ай бұрын

    Thanks so much for this tutorial.Could you take it a little further by actually writing a backend NodeJs to utilize those query results of the aggregation.I mean how to use it in the backend

  • @sidhantdhyani9567

    @sidhantdhyani9567

    6 ай бұрын

    in node you can use it like you might have used products.find() method or products.findByID() method, in the same way you can use product.Aggregate() and inside parenthesis write your aggregation query. If that helps ✌.

  • @davidmukoro1166

    @davidmukoro1166

    5 ай бұрын

    @@sidhantdhyani9567 : Perfect!!!! That solves my query and it has helped me so much. Now i am beginning to like mongodb.

  • @i_vishalsah01
    @i_vishalsah016 ай бұрын

    Sir, could ypu help us with a mongo db aggregation project as it is almost impossible to find a good one it will help us get to know more how this is used in production live projects

  • @HiteshChoudharydotcom

    @HiteshChoudharydotcom

    6 ай бұрын

    It’s going on at my Hindi channel

  • @mdbappihossain2997
    @mdbappihossain2997Ай бұрын

    wow😮😮

  • @Skilla_code
    @Skilla_code6 ай бұрын

    Ok sir

  • @ayushgarg1851
    @ayushgarg18514 ай бұрын

    If anyone is not able to use the regex expression as shown in the video use this instead [ { $match: { phone:{ $regex: "^\\+1" } } }, { $count:"Number starting from +1" } ]

  • @FreeTrial0315
    @FreeTrial03156 ай бұрын

    Sorry sir I cannot purchase your paid course bacause you say that real developer is that who do self not watch only tutorial

  • @ariyanavra1512
    @ariyanavra1512Ай бұрын

    ❤❤

  • @jacquelynecarmen
    @jacquelynecarmen28 күн бұрын

    It looks like array.map().filter().reduce().

  • @JeetuKumar-wd1uw
    @JeetuKumar-wd1uw6 ай бұрын

    Sir es video ko hindi mai layea please so that I can learn properly

  • @Ouruniverse25
    @Ouruniverse256 ай бұрын

    Sir mongo DB को हिंदी मैं लाहो sir plz......

  • @rohanchoudhary4034
    @rohanchoudhary40346 ай бұрын

    I miss LCO

  • @titangaming2470
    @titangaming247012 күн бұрын

    Bro can make me software enginner in month!

  • @JustUs80
    @JustUs806 ай бұрын

    👍

  • @bhavdeepsingh4982
    @bhavdeepsingh49822 ай бұрын

    Sir app aggregation ki Hindi me video bda doo

  • @aloneking5388
    @aloneking53886 ай бұрын

    Hi sir

  • @rayansingh5246
    @rayansingh52466 ай бұрын

    Hello ❤sir ji

  • @ravipratap2349
    @ravipratap23496 ай бұрын

    ❤❤❤❤❤❤❤❤❤❤❤

  • @onlineworld11111
    @onlineworld111116 ай бұрын

    Hey

  • @shubhamkakad10x
    @shubhamkakad10x6 ай бұрын

    #chaiaurcode

  • @arindamdutta7369
    @arindamdutta73696 ай бұрын

    Not able to understand, what is being happening here . Kabhi kabhi bolte hai aap free course sa kuch a to z mil jayega. kabhi backend ka 6999 rs lete hai

  • @arindamdutta7369

    @arindamdutta7369

    6 ай бұрын

    though course is good

  • @rakeshchoudhary894
    @rakeshchoudhary8946 ай бұрын

    Hlo sir ji

  • @user-yp7lm9em2n
    @user-yp7lm9em2n4 ай бұрын

    nice video

  • @rakeshchoudhary894
    @rakeshchoudhary8946 ай бұрын

    Hi sir

Келесі