Chapter 1: Basic Aggregation - $match and $project

Hi All,

I’ve been on the first Lab for a few evenings now, hints welcome in order to get the required 23 results.

Thanks in advance…

–QUERY RETURNS 14 RESULTS

The best way to debug a pipeline is to simplify the stages to see which part is not doing what we expect. The operator that provides much confusion is $nin.

2 Likes

Hi @Euan_Grant,

I see that you have already completed the lab. :clap:

I have edited your post to remove the lab answers.

Please feel free to reach out if you have any questions.

Thanks,
Sonali

replacing $nin to $ne gives correct/expected value.
it was a good puzzle for me…

The “languages” field does not exist in the movies collection.

It exists
Please double check or show your query

Hi @Oscar_Ngxongwana,

Please share your query here: Data not in sync with the lectures resulting in failing to answer correctly

Kind Regards,
Sonali