M220JS - TICKET: Migration - Projection Not Working [Solved]

The projection parameter in the movie-last-updated-migration.js on line 36 => .find(predicate, projection) will not work using the last nodejs mongodb driver. You will have to use .project() method Instead => .find(predicate).project(projection)

Hi @Biruel

The driver version specified in the package.json file is compatible with the MongoDB NodeJS Driver 3.1.6, can you share which driver version you had the issue with (I believe a 3.2.x) but I’d like to get the exact version to investigate this on my machine.

Thanks for flagging this issue!