No results found when running find() query- db.movies.find({cast: "Jess Bridges"}).pretty() , what am I doing wrong?

No results found when running find() query- db.movies.find({cast: “Jess Bridges”}).pretty() , what am I doing wrong?Mongo_snap

Please check your collections
mongodb will not give any error if you give non existent db name,collection name or wrong field
Also don’t confuse with class vs sandbox cluster
You have same DB video but collections are different
So you are issuing wrong query

MongoDB Enterprise Cluster0-shard-0:PRIMARY> use video
switched to db video
MongoDB Enterprise Cluster0-shard-0:PRIMARY> show collections
movieDetails
moviesScratch

I managed to fix it. Thank you for the help :slightly_smiling_face: