2 ms·
Group by is kind of implicit depending on the model you start with. Model_a.objects.all().select_related(extra_tables).aggregate(arg_params) will group by the
by collyw 12y ago
Group by is kind of implicit depending on the model you start with.
Model_a.objects.all().select_related(extra_tables).aggregate(arg_params)
will group by the Model_a table.