Cannot get the result for homework

please let me know why im not getting the result

You are missing the step where you use your pipeline of a given collection.

1 Like

Hi @Anusha_12939,

You have assigned the aggregation $match stage to the pipeline variable. Now, to get the result you need to run the command:

db.movies.aggregate(pipeline)

Please check the lab requirements and follow all the steps to get the answer.

Please let me know, if you have any questions.

Thanks,
Sonali

i didnt get you,can you explain in detail where i have missed

Please read the following from the previous post

Hi @Anusha_12939,

In addition to @steevej-1495’s reply.

I believe you were checking the Detailed answer section and it only shows how to create the pipeline. Everything else is not mentioned in the Detailed answer as all the steps are clearly stated in the lab.

Please let me know, if you have any questions.

Thanks,
Sonali