The query runs successfully then I load the validateLab2 method and try running it but it won’t give me any output. The method is running since a long time but still does not give any output. Any help is appreciated.
What did you got as answer when you ran your pipeline?
After typing the query and pressing enter nothing happens but it does not give any error either.
You have to try to run your pipeline like in lab 1 with:
db.movies.aggregate(pipeline).itcount() and the result count should be the same as lab 1.
Make sure you use the aggregations database.
Did you press ENTER at the end of the command validateLab2(pipeline)?
Share the output of running the command
The output is aggregations
Try Japanese rather than Japenese.
I can’t believe that was the problem. Thanks a lot Steeve!