MCPcopy
hub / github.com/django/django / AggregateQuery

Class AggregateQuery

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

Take another query as a parameter to the FROM clause and only select the elements in the provided list.

Source from the content-addressed store, hash-verified

165
166
167class AggregateQuery(Query):
168 """
169 Take another query as a parameter to the FROM clause and only select the
170 elements in the provided list.
171 """
172
173 compiler = "SQLAggregateCompiler"
174
175 def __init__(self, model, inner_query):
176 self.inner_query = inner_query
177 super().__init__(model)

Callers 1

get_aggregationMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected