Lab 1.1 overwrite collection

The import instruction make not sense for me.
I should delete the people collection and import the restaurants collection as people collection! Do I understand something wrong?

2 Likes

From where exactly did you copy the second mongoimport? That’s clearly wrong.

The screenshot from above is a instruction from the lab.
I want to be sure that is wrong

Perhaps the content has changed… this is what was in lab 1.1 as of Sep 19:

okay, that’s a different question than today!

The new instructions are wrong.

The second mongoimport should be mongoimport --drop -c restaurants … as you think it should.

2 Likes

thank you, thats exactly what I thought

It looks like this course has been revamped as it now talks about the use Atlas.

Clearly two problems:

  1. Incorrect syntax like @steevej-1495 pointed out
  2. The count question only references the people collection and not the restaurants collection.

One for @Sonali_Mamgain

3 Likes

Hi All,

Thanks for sharing this feedback!!
We will make the corrections as soon as possible.

Thanks,
Sonali

2 Likes

Also, make sure that the verify step is updated to use m201 and not use 201.

1 Like