Changes between Version 4 and Version 5 of Ticket #30099


Ignore:
Timestamp:
Jan 12, 2019, 7:55:36 AM (6 years ago)
Author:
MrFus10n
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30099 – Description

    v4 v5  
    5454    SELECT COUNT(U0."book_category") AS "cnt"
    5555    FROM "core_book" U0 WHERE U0."id" = ("core_author"."chat_id")
    56     GROUP BY U0."id" HAVING COUNT(U0."book_category") > 3
     56    GROUP BY U0."id"
    5757    ORDER BY "cnt" ASC  LIMIT 1)
    5858AS "min_valuable_count"
     
    6060}}}
    6161
    62 Is there any way to remove {{{GROUP BY}}} in outer query without removing {{{.filter(cnt__gt=3)}}} in subquery?
     62Is there any way to remove {{{GROUP BY}}} in outer query without removing {{{.filter(cnt__gt=3)}}} in subquery?
     63Is {{{qs.query.group_by = None}}} ok?
Back to Top