Not getting any results for find query

mdb
Hi, I am not geeting any results for find query. can anyone please guide. I am absolute beginner

Hi @Atul_Kumar,

Welcome to the MongoDB University discussion forum :slight_smile: .

Please ensure that you are connected to the right database (i.e. video) before we analyse the query predicate.

If you are connected to the right database and still not getting any result then that means that the query predicate that you have specified in the find command didn’t match any document in the collection.

Let’s see what you are trying to do here. Could you please explain what did you want to do here ?

~ Shubham

Thanks Shubham. Issue resolved.