How to limit the number of document updates?
Hi
I want to limit the number of document updates in one command.
for example
db.users.updateMany(
<filter>,
<update>,
{
limit : 100
}
);
https://www.mongodb.com/community/forums/t/how-to-limit-the-number-of-document-updates/102204/3
20
votes
