MCPcopy
hub / github.com/django/django / get_select_from_parent

Method get_select_from_parent

django/db/models/sql/compiler.py:234–238  ·  view source on GitHub ↗
(cls, klass_info)

Source from the content-addressed store, hash-verified

232
233 @classmethod
234 def get_select_from_parent(cls, klass_info):
235 for ki in klass_info["related_klass_infos"]:
236 if ki["from_parent"]:
237 ki["select_fields"] = klass_info["select_fields"] + ki["select_fields"]
238 cls.get_select_from_parent(ki)
239
240 def get_select(self, with_col_aliases=False):
241 """

Callers 1

get_selectMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected