MCPcopy
hub / github.com/django/django / final_transformer

Method final_transformer

django/db/models/sql/query.py:1931–1934  ·  view source on GitHub ↗
(field, alias)

Source from the content-addressed store, hash-verified

1929 # fields to the appropriate wrapped version.
1930
1931 def final_transformer(field, alias):
1932 if not self.alias_cols:
1933 alias = None
1934 return field.get_col(alias)
1935
1936 # Try resolving all the names as fields first. If there's an error,
1937 # treat trailing names as lookups until a field can be resolved.

Callers

nothing calls this directly

Calls 1

get_colMethod · 0.45

Tested by

no test coverage detected