Lab2.3 Getting wrong output in mongo shell

When I am trying to use the below query I am getting result " 0 "

MongoDB Enterprise Cluster0-shard-0:PRIMARY> db.movieDetails.find({“rated” : “PG”, “award.nominations”: 10}).count()
0

What might be the issue, Please suggest

Regards,
Tarun

Hi @tarunvemuri,

You need to do a small correction in your query. Please correct the field name to “awards.nominations” .

I hope it works now!!

Thanks,
Sonali