Ships.shipwrecks

hi,
im getting result as 0 when i run this command
db.ships.shipwrecks.find({$or: [{“watlev”: {$eq: “always dry”}}, {“depth”: {$eq: 0}}]}).count()
could you please help me with it. Screenshot%20(19)

I do not think that ships are considered like a weather. Use right dot notation and right db

Hi @Anusha_12939,

As I can see in the screenshot, you have made couple of mistakes here.

use 100YWeatherSmall

This means now the db variable points to the 100YWeatherSmall database and not the ships database which you intended to use.

In your query, since the db variable already points to the database you intend to use, you don’t have to specify it again.

 use ships 
 db.shipwrecks.find({....})

Hope it helps!

If you have any other query then please feel free to get back to us.

Thanks,
Shubham Ranjan
Curriculum Support Engineer