Greeting! Does anyone know why I am getting this?
let cursor
try {
// TODO Ticket: Projection
// Find movies matching the "countries" list, but only return the title
// and _id. Do not put a limit in your own implementation, the limit
// here is only included to avoid sending 46000 documents down the
// wire.
cursor = await movies.find(
{ countries: { $in: countries } },
{ proection: { title: 1, _id: 1 } },
)
} catch (e) {
console.error(`Unable to issue find command, ${e}`)
return []
}