I have been struggling with Quiz in chapter 4 - used up 2 of 3 attempts. I wanted to save my queries too and noticed that feature in compassn IDE. I have been using it’s Mongosh shell ex:
db.companies.find ({
$and: [
{“founded_month”:10},
{“category_code”: {$in: [“web”,“social”]}}
]
},
{“founded_year”:1
}
)
But the option to see the founded_year as a projection is not enabled. What should I be doing. I also think I must understand the quiz question wrong as my roll up query is same as parts. I’ll use a separate thread for that.