Changes between Version 2 and Version 3 of Ticket #35437, comment 2


Ignore:
Timestamp:
May 6, 2024, 6:47:10 PM (7 months ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35437, comment 2

    v2 v3  
    4646    id__in=Employee.objects.filter(
    4747        manager=OuterRef("manager")
    48     ).order_by("-salary").values("id")
     48    ).order_by("-salary").values("id")[:1]
    4949)
    5050}}}
Back to Top