extra note in the docstring [ci skip]
This commit is contained in:
parent
5f1670ffa2
commit
e124c95621
@ -1132,6 +1132,9 @@ class BaseQuerySet(object):
|
|||||||
def as_pymongo(self):
|
def as_pymongo(self):
|
||||||
"""Instead of returning Document instances, return raw values from
|
"""Instead of returning Document instances, return raw values from
|
||||||
pymongo.
|
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 = self.clone()
|
||||||
queryset._as_pymongo = True
|
queryset._as_pymongo = True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user