For the above problem, I built my query strings with the Atlas Finder which is linked to the mflix database. I got all the values but I know it’s a different database from the one used in this course. When I tried inputting the query strings with db.movies.aggregate( … ), I got a blank response, not even an error message. Any advice?
Hi @SOO_QUEK.
Did you try running the: use <--- database name ---> command before running the aggregation command?
If not, I would recommend running the following command:
use sample_mflix
In case you have any doubts, please feel free to reach out to us.
Thanks and Regards.
Sourabh Bagrecha,
Curriculum Services Engineer
I was using the sample_mflix database which has awards.text as a field. It did produce a credible result on my Atlas Finder, nevertheless. Even removing the .text, I still produce a blank response instead of some error message.
That is wrong. The database that you should use for M121 is aggregations. The collections is movies. You should be using the shared cluster as indicated in the first few lessons.
The field is named awards, as indicated in the lab notes.