MCPcopy
hub / github.com/django/django / get_source_fields

Method get_source_fields

django/db/models/expressions.py:1685–1687  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1683 return c
1684
1685 def get_source_fields(self):
1686 # We're only interested in the fields of the result expressions.
1687 return [self.result._output_field_or_none]
1688
1689 def as_sql(self, compiler, connection, template=None, **extra_context):
1690 connection.ops.check_expression_support(self)

Callers 5

resolve_expressionMethod · 0.45
resolve_expressionMethod · 0.45
as_postgresqlMethod · 0.45
as_postgresqlMethod · 0.45
_resolve_output_fieldMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected