Step 1:
Download Link:
https://university.mongodb.com/static/10gen_2014_M101J_August/handouts/hw1-1.184820ec29b6.zip
Step 2:
unzip the Content and go to that path using command prompt
Step 3:
type mongorestore, it will load json
connected to: 127.0.0.1
Mon Aug 11 14:59:29.188 dump\m101\funnynumbers.bson
Mon Aug 11 14:59:29.189 going into namespace [m101.funnynumbers]
100 objects found
Mon Aug 11 14:59:29.213 Creating index: { key: { _id: 1 }, ns: "m101.funnynumbers", name: "_id_" }
Mon Aug 11 14:59:29.459 dump\m101\hw1.bson
Mon Aug 11 14:59:29.459 going into namespace [m101.hw1]
1 objects found
Mon Aug 11 14:59:29.472 Creating index: { key: { _id: 1 }, ns: "m101.hw1", name: "_id_" }
Done. with your homework 1.1
Download Link:
https://university.mongodb.com/static/10gen_2014_M101J_August/handouts/hw1-1.184820ec29b6.zip
Step 2:
unzip the Content and go to that path using command prompt
Step 3:
type mongorestore, it will load json
connected to: 127.0.0.1
Mon Aug 11 14:59:29.188 dump\m101\funnynumbers.bson
Mon Aug 11 14:59:29.189 going into namespace [m101.funnynumbers]
100 objects found
Mon Aug 11 14:59:29.213 Creating index: { key: { _id: 1 }, ns: "m101.funnynumbers", name: "_id_" }
Mon Aug 11 14:59:29.459 dump\m101\hw1.bson
Mon Aug 11 14:59:29.459 going into namespace [m101.hw1]
1 objects found
Mon Aug 11 14:59:29.472 Creating index: { key: { _id: 1 }, ns: "m101.hw1", name: "_id_" }
Done. with your homework 1.1
No comments:
Post a Comment