Changes between Version 1 and Version 2 of Ticket #32117
- Timestamp:
- Oct 17, 2020, 5:54:49 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32117 – Description
v1 v2 10 10 11 11 count_by_day_qs = M1.objects.values('date').annotate(c=models.Count('id')).values('date', 'c') 12 }}}} 13 Returns executes following query: 14 {{{{ 12 13 #Executes following query: 15 14 SELECT "m1"."date", COUNT("m1"."id") AS "c" FROM "m1" GROUP BY "m1"."date", "m1"."smth" 16 }}}} 15