Find() method is not working

Hey guys there, I am trying FIND method in mongo shell & trying to retrieve data in shell using command command db.movies.find({“awards.win”:2}).pretty(), but i don’t why but everytime function performs no action & next moment after pressing enter, command line again ready to execute new command?
please help me if anyone getting this issue or know something about it?

Please double check the field name
It should be “awards.wins”
compass or shell will not give any error if field name is given wrongly

2 Likes

Following @Ramachandra_37567’s reply, the Lab instructs to connect to your sandbox cluster. The collection is movieDetails.

Kanika

1 Like

@Kanika @Ramachandra_37567 thanks issue solved . . .