Академический Документы
Профессиональный Документы
Культура Документы
Courses (/courses) Help (/help) About (/about) Blog (http://ed-blog.mongodb.com/) DMAKETAS (/DASHBOARD)
SEARCH
Windows Users
Y o up r o b a b l yd o n ' th a v et a ri n s t a l l e ds or i g h tc l i c ko nt h eh w 1 . z i pf i l ea n dc h o o s e" e x t r a c ta l l "
Use mongorestore to restore the dump into your running mongod. Do this by opening a terminal window (mac) or cmd window (windows) and navigating to the directory so that the dump directory is directly beneath you. Now type
m o n g o r e s t o r ed u m p
Note you will need to have your path setup correctly to find mongorestore. Now, using the Mongo shell, perform a findone on the collection called hw1 in the database m101. That will return one document. Please provide the value corresponding to the "answer" key from the document returned.
42
HIDE ANSWER
Products & Services (http://www.mongodb.com/products/mongodb) Events (http://www.mongodb.com/events) Partners (http://www.mongodb.com/partners) Customers (http://www.mongodb.com/customers) About MongoDB (http://www.mongodb.com/about) Contact Us (/contact) Careers (http://www.mongodb.com/careers)
(https://twitter.com/mongodbinc)
(http://www.facebook.com/mongodb)
(http://www.linkedin.com/company/783611)