Changes between Initial Version and Version 1 of Ticket #35309, comment 9


Ignore:
Timestamp:
Mar 16, 2024, 9:11:41 AM (8 months ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35309, comment 9

    initial v1  
    55In the light of this realization I've adjusted the report and moved back this ticket to an accepted optimization.
    66
    7 Laurent, as for the patch I suggest simply decorating existing tests that make use of prefetching for single valued relationship (there are plenty in `prefetch_related` tests`) which `assertNumQueries` and use the context queries to assert against the lack of `ORDER BY`.
     7Laurent, as for the patch I suggest simply decorating existing tests that make use of prefetching for single valued relationship (there are plenty in `prefetch_related` tests) which `assertNumQueries` and use the context queries to assert against the lack of `ORDER BY`.
    88
    99e.g.
Back to Top