Changes between Initial Version and Version 1 of Ticket #35146, comment 2
- Timestamp:
- Jan 26, 2024, 9:39:05 AM (10 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35146, comment 2
initial v1 6 6 query1 = Products1.objects.filter(foo="bar") 7 7 query2 = Products2.objects.filter(foo="baz") 8 query1.union(query2). as_subquery("release_date", "price").values("release_date").annotate(8 query1.union(query2).wrap("release_date", "price").values("release_date").annotate( 9 9 min_price=Min("price"), max_price=Max("price") 10 10 )