Confusing cluster "status" between `insertOne()` and `insertMany()` lessons: Add instructions to `drop` collection

Hi!

If we follow along the demo/steps as shown in the course outline, at the end of the lecture Creating Documents: insertOne(), the collection moviesScratch actually has 4 records. Then if we run the insertMany() steps as outlined in the video, the results are different, as the collection already has a document with _id:"tt0084726"

I’ve been able to make sense of it, but I’d suggest adding some instructions to drop the collection before running the scripts/examples in each video

Thanks!

Hi Javier_81987,

I would implement the steps mentioned only in the Labs and not from the lectures otherwise as you stated you will be having issues with duplicate data.

Kanika

2 Likes