No the question is about 'List all companies located in the USA with their corresponding user count', the corresponding user count means particular company's count. The answer would be right if the question was 'List all companies located in the USA with total count'
14:34 You may click the button beside "Copy" after you have completed writing the code in TEXT to format it. This is easier than switching from text to stages and then stages to text again.
Bhaiya I want to ask a question regarding interviews, many times we are asked to describe the architecture of a technology, please tell us what should be our answer ❤
14:36 find user who have both enim I solve it this way. Is it the incorrect way? [ { $match: { $and:[{"tags":"enim"},{"tags":"id"}] } }, { $project: { name:1, tags:1, } } ]
Since I started following you, I really like that you always give importance to reading documentation
Thats make your teaching different than other
Glad to hear that
Sir, your teaching style is next level.
i think the following is the answer for the last question:
[
{
$match: {
"company.location.country" : "USA"
}
},
{
$count: 'userCount'
}
]
No the question is about 'List all companies located in the USA with their corresponding user count', the corresponding user count means particular company's count.
The answer would be right if the question was 'List all companies located in the USA with total count'
Your teaching style is great ♥♥♥. I am trying to understand aggregation from the previous 3 days but get bored and you make it easy peezy 😁
14:34 You may click the button beside "Copy" after you have completed writing the code in TEXT to format it. This is easier than switching from text to stages and then stages to text again.
keep doing these type of videos they are worth more than going through whole tutorial 😅😅😅😅
Great Work Sir
Thank you again sir ❤
I have learned a lot, thank you very much sir!
Your teaching is great❤️❤️
guruji viewer of chai-aur-backend
Thank you so much sir ❤❤❤
Thank you sir for this type of great videos
Not gonna watch the video now but kudos to the effort.
I have question it is wise to install mongo db in same aws or use mongodb own service. Which one is cost effective
3:45 Stephenson Griffith 💀💀
Countdown 🎉
Thank you so much Sir
Thanks for the video👍
Thank you very much
great, thank you for that
contributing for 'comment target'
Thanks
👍👍
❤
Sir,learncode online is not available
what is the name of your online class website?
goldmine series
Bhaiya I want to ask a question regarding interviews, many times we are asked to describe the architecture of a technology, please tell us what should be our answer ❤
Learn System design?
@@ShivamJha00 not sure about that one
boom💥
14:36
find user who have both enim
I solve it this way. Is it the incorrect way?
[
{
$match: {
$and:[{"tags":"enim"},{"tags":"id"}]
}
},
{
$project: {
name:1,
tags:1,
}
}
]
I did it in the same way and got the same output so I guess it is correct
Done
Hi sir
🖤🖤🤍🤍
Listing all comapny located in USA and its count:
[
{
$match: {
"company.location.country":"USA"
}
},
{
$addFields: {
"userName": "$name"
}
},
{
$project: {
"_id":0,
"userName":1
}
},
{
$count: 'noOfUsers'
}
]