python - PyMongo cursor batch_size - Stack Overflow
stackoverflow.com › questions › 54815892Feb 22, 2019 · Pymongo has some quality-of-life helpers for the Cursor class, so it will automatically do the batching for you, and return result to you in terms of documents. The batch_size setting is set, but the idea is you only need to set it in the find () method, and not have to do manual low level calls or iterating through the batches. For example, if ...