Lab 2.1: Lecture: Creating Documents: insertMany()

Before beginning the Lab 2.1: Lecture: Creating Documents: insertMany() we should delete all documents inside the moviesScratch Collection, in order to have the same result as the video.

Hi @Octavio_15324,

Yes, if you want to have the same state of the data as that of the Lecture: Creating Documents: insertMany() then you are required to drop the data that you inserted in the previous Lecture: Creating Documents: insertOne(). We have inserted two documents in our collection.

However, no labs or quizzes are based on the video.moviesScratch collection, so you do not have to worry about this.

That being said, if you want to drop the collection and start fresh you can use the command mentioned below.

db.moviesScratch.drop()

If you have any other issue, please feel free to get back to us.

Happy Learning :slight_smile:

Thanks,
Shubham Ranjan
Curriculum Support Engineer