#13742
-
In #django `SQLCompiler.get_group_by()`:
> The logic of what exactly the GROUP BY clause contains is hard to describe in other words than "if it passes the test suite, then it is correct".
https://github.com/django/django/blob/0a560eab550696dbc163d57258ef6f3cdb9511a3/django/db/models/sql/compiler.py#L98-L100
GROUP BY clauses are one of the things that is easier to write in plain SQL (IMO). 10/03/2024 à 15:18