Step 1:
Download the products.jsonStep 2:
Import products.json using below command
mongoimport -d pcat -c products --type json --file C:\products.json
Step 3:
execute below steps
> use pcat
> db.products.find({type:"case"}).count()
Answer you will get is 3
No comments:
Post a Comment