From e124c956219e0163ae38e8e9f40eb95ec2691e1f Mon Sep 17 00:00:00 2001 From: Stefan Wojcik Date: Sun, 7 May 2017 23:58:29 -0400 Subject: [PATCH] extra note in the docstring [ci skip] --- mongoengine/queryset/base.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mongoengine/queryset/base.py b/mongoengine/queryset/base.py index a3f41c3c..f7c32d20 100644 --- a/mongoengine/queryset/base.py +++ b/mongoengine/queryset/base.py @@ -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