Changes between Version 1 and Version 2 of Ticket #32117


Ignore:
Timestamp:
Oct 17, 2020, 5:54:49 PM (4 years ago)
Author:
eloktev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32117 – Description

    v1 v2  
    1010
    1111count_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:
    1514SELECT "m1"."date", COUNT("m1"."id") AS "c" FROM "m1" GROUP BY "m1"."date", "m1"."smth"
    16 }}}}
     15
Back to Top