The following query runs correctly when I do it in mongodb atlas but returns 0 documents when i run it on my console
predicate { lastupdated: { '$exists': true, '$type': 'string' } }
projection { lastupdated: 1 }
$node movie-last-updated-migration.js
Found 0 documents to update
No documents to update
My connection is working correctly, the cursor is an empty array [ ]
, I don’t know why it is unable to find the required documents