Question: Access the dataset for this assignment, city _ inspections.json, in the / usr / local / datasets directory in your Apporto environment. Using the mongoimport
Access the dataset for this assignment, cityinspections.json, in the usrlocaldatasets directory in your Apporto environment. Using the mongoimport tool and documents found in the cityinspections.json file, load the database city into the inspections collection. Complete this task by typing the following commands in the Linux terminal to perform the import in the right directory:
Change into the Apporto directory with the data sets:
cd usrlocaldatasets
Use the mongo import utility to load the data set:
mongoimport username$MONGOUSER
password$MONGOPASSport$MONGOPORT
host$MONGOHOSTdb city collection inspections
authenticationDatabase admin drop cityinspections.json
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
