MCPcopy
hub / github.com/django/django / _setup_query

Method _setup_query

django/db/models/sql/subqueries.py:58–65  ·  view source on GitHub ↗

Run on initialization and at the end of chaining. Any attributes that would normally be set in __init__() should go here instead.

(self)

Source from the content-addressed store, hash-verified

56 self._setup_query()
57
58 def _setup_query(self):
59 """
60 Run on initialization and at the end of chaining. Any attributes that
61 would normally be set in __init__() should go here instead.
62 """
63 self.values = []
64 self.related_ids = None
65 self.related_updates = {}
66
67 def clone(self):
68 obj = super().clone()

Callers 2

__init__Method · 0.95
chainMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected