Zoom
Use the following document's schema for doing this exam:
_id: ObjectId
name: String
description: String
_id: ObjectId
name: String
issues: [
department
{
title: String,
}
1
employee
1
1
_id: Objectid
name: {
fistName: String lastName: String
M
job
M
date: Date, default: Date.now
isCompleted: Boolean, default: false
startDate: Date
endDate: Date
}
middleName: String
dateOfBirth: Date
gender: String- enum: ['male', 'female', 'other']
manager: String
department: Objectid
account: {
email: String,
password: String
}
dependents: [
{
_id: ObjectId fullname: String
relation: String
}
1
jobs: [Objectid]
1
Requirements:
Using MongoDB Compass, create a database named "SDN302_FALL24_B1". Create collections corresponding to the data in the given directory. Then, import data into the collections created in the database.
SDN302_FALL24_B1
95%
Close