static async getMoviesByCountry(countries)
let cursor
try {
cursor = await movies.find({
“countries”: { in:countries}},
{"_id": 0, "title": 1});
} catch (e) {
console.error(`Unable to issue find command, {e}`)
return
}
return cursor.toArray()
}
Here is my code to search for movies, the first test passes which searches for one movie however the second one which searches for three does not and I am not sure why? some help?