I have a huge collection of documents in my DB and I\'m wondering how can I run through all the documents and update them, each document with a different value.
None of the previous answers mentions batching the updates. That makes them extremely slow