MCPcopy
hub / github.com/django/django / get_group_by_cols

Method get_group_by_cols

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

Source from the content-addressed store, hash-verified

1507 return self.as_sql(compiler, connection, **extra_context)
1508
1509 def get_group_by_cols(self):
1510 group_by_cols = []
1511 for expr in self.get_source_expressions():
1512 group_by_cols.extend(expr.get_group_by_cols())
1513 return group_by_cols
1514
1515
1516class OrderByList(ExpressionList):

Callers

nothing calls this directly

Calls 3

extendMethod · 0.80
get_group_by_colsMethod · 0.45

Tested by

no test coverage detected