node.js - Node, Mongodb, Limiting updatemany to the first 500 entries -
is there way in node using native mongodb driver limit update many operation first 500 entries?
right update many line looks
col.updatemany({$exists : {available : false}}, {$set : {available : "na"}}, function(){});
is there way limit number of documents searches , updates?
thanks!
Comments
Post a Comment