include a link to PyMongo docs for batch_size

This commit is contained in:
Stefan Wojcik 2016-12-05 11:27:46 -05:00
parent ea9027755f
commit 34ba527e6d

View File

@ -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()