extra note in the docstring [ci skip]

This commit is contained in:
Stefan Wojcik 2017-05-07 23:58:29 -04:00
parent 5f1670ffa2
commit e124c95621

View File

@ -1132,6 +1132,9 @@ class BaseQuerySet(object):
def as_pymongo(self):
"""Instead of returning Document instances, return raw values from
pymongo.
This method is particularly useful if you don't need dereferencing
and care primarily about the speed of data retrieval.
"""
queryset = self.clone()
queryset._as_pymongo = True