In this exercise, you’ll create the
scottish_info database and then add the
scottish_pubs collection to the database. Next, you’ll export the query results you generated in Exercise 2 to the new collection.
Studio 3T adds the scottish_info database node to the Connection Tree.
4. In the Add New Collection dialog box, type scottish_pubs in the Collection Name text box, and then click Create.
8. On the Choose target collection page, click on Click here to connect to a server. This will open the Connection Manager dialog.
9. Select the target MongoDB connection from the list – which in our case is mongo1 – and then click Connect.
scottish_pubscollection in the
scottish_infodatabase, and then click Finish.
scottish_pubscollection tab and click the Refresh button ()on the Result tab toolbar.
The Result tab should now display the first 50 imported documents.
You’ve finished the exercise! Click on Test your skills to review what you’ve learned.