From 34ba527e6d7fadb89e151ea15eed0a6b86834e1c Mon Sep 17 00:00:00 2001 From: Stefan Wojcik Date: Mon, 5 Dec 2016 11:27:46 -0500 Subject: [PATCH] include a link to PyMongo docs for batch_size --- mongoengine/queryset/base.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mongoengine/queryset/base.py b/mongoengine/queryset/base.py index 2702a46b..38ba792b 100644 --- a/mongoengine/queryset/base.py +++ b/mongoengine/queryset/base.py @@ -786,6 +786,9 @@ class BaseQuerySet(object): """Limit the number of documents returned in a single batch (each batch requires a round trip to the server). + See http://api.mongodb.com/python/current/api/pymongo/cursor.html#pymongo.cursor.Cursor.batch_size + for details. + :param size: desired size of each batch. """ queryset = self.clone()