use products not showing me any data, I have to create the collections and add ll the data into products which provided in handouts
You have to use mongoimport to load data from .json file
After import you can see products collection
Please check mongoimport from mongo docs
use products is not correct.products is a collection
use db----->replace db with the dbname where you loaded the data
In order to be able to use any dataset in the mongodb environment, you need to first load that data into your mongodb environment.
It is not showing any data because, the data is not present. You will have to load it.
Please make sure you are using the correct database and collection names as mentioned in the Labs.
Hope it helps!
If you still have any query then please feel free to get back to us.
Curriculum Support Engineer