MCPcopy Create free account
hub / github.com/MongoEngine/mongoengine / no_dereference

Method no_dereference

mongoengine/queryset/base.py:1788–1792  ·  view source on GitHub ↗

Turn off any dereferencing for the results of this queryset.

(self)

Source from the content-addressed store, hash-verified

1786 return should_deref and self.__auto_dereference
1787
1788 def no_dereference(self):
1789 """Turn off any dereferencing for the results of this queryset."""
1790 queryset = self.clone()
1791 queryset.__auto_dereference = False
1792 return queryset
1793
1794 # Helper Functions
1795

Calls 1

cloneMethod · 0.95