I was able to answer this right only because I understood which collection to apply my pipeline to first. My greatest difficulty with aggregation pipelines in general is I don’t grasp how the parameters for each pipeline step are chosen. Looking at the detailed answer, in some cases they don’t even match the data structures in the actual documents and I don’t know where they come from. I can only guess there’s some new documents being created that I don’t see. (I’m being vague to avoid answering too much about the lab answer.)
I’ve read the detailed answer but it just raises more questions. Is there a more detailed “detailed answer” to explain how we should use these operators ourselves, or some resource online that explains it better?
Jeremy