Ticket: Projection not working

Hi Team,
I have been struggling to pass the test case for projection lab
My Query is cursor = await movies.find({countries:{$in:countries}}).project({title:1}).limit(1)
can anyone guide me if my query is wrong.

Thanks

Is the lab ask you to return only one document?

1 Like

No, do we need to remove the. Limit(1) from query?