filmov
tv
Lab 8 View and Edit #MongoDB Data in Compass

Показать описание
Objectives:
• To learn how to insert and edit data in the MongoDB database.
Data:
• Sample data provided by MongoDB
Steps:
1. Connect the class cluster to Compass.
2. In Compass, try to query some sample data.
3. In your database (e.g., gp1), create a collection named IA courses.
4. In the course collection, manually insert four 2020 Fall IA courses’ info, including:
4.1. Course name
4.2. Couse number
4.3. Classroom
4.4. Instructor’ info for that course, including:
• Name
• Office
• Email
4.5. At least five dummy students’ info for each course, including:
• Name
• Email
• To learn how to insert and edit data in the MongoDB database.
Data:
• Sample data provided by MongoDB
Steps:
1. Connect the class cluster to Compass.
2. In Compass, try to query some sample data.
3. In your database (e.g., gp1), create a collection named IA courses.
4. In the course collection, manually insert four 2020 Fall IA courses’ info, including:
4.1. Course name
4.2. Couse number
4.3. Classroom
4.4. Instructor’ info for that course, including:
• Name
• Office
4.5. At least five dummy students’ info for each course, including:
• Name