Lab: Array Operators and Projection

On using the correct query for the answer, I return one more document than the answer involves.

This has happened once before in Lab2: Logic Operators on the companies collection that has led me to doubt my methodology.

Is there a possibility another entry has been added to the sample database? Mine is showing a total of 9501 documents at the moment.

Hi @Bryant_Trujillo,

Welcome to the MongoDB Community forums :sparkles:

Yes, there could be the possibility like if you have performed any insert operation while completing the lab and quizzes. If you are getting one more document compared to the answer, then we suggest you reload your sample data set by deleting the current sample dataset from your clusters.

In case of any doubts please feel free to reach out.


1 Like