Changes between Initial Version and Version 1 of Ticket #35146, comment 2


Ignore:
Timestamp:
Jan 26, 2024, 9:39:05 AM (10 months ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35146, comment 2

    initial v1  
    66query1 = Products1.objects.filter(foo="bar")
    77query2 = Products2.objects.filter(foo="baz")
    8 query1.union(query2).as_subquery("release_date", "price").values("release_date").annotate(
     8query1.union(query2).wrap("release_date", "price").values("release_date").annotate(
    99    min_price=Min("price"), max_price=Max("price")
    1010)
Back to Top