Chapter 4 Operations Lab 2 help

Having issues with my IDE continually returning “0” as the results. Below is the query I’m trying to use. Any help would be greatly appreciated.


May be you are simply using the wrong database. Post the output of the mongo shell command:

show collections

You are

The question is about the sample_training.zips collection but you are using myFirstDatabase rather than sample_training. Just run the command use sample_training and you should be good to go. See

Ah ok i see. Thanks for your help!