Changes between Initial Version and Version 1 of Ticket #35309, comment 9
- Timestamp:
- Mar 16, 2024, 9:11:41 AM (8 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35309, comment 9
initial v1 5 5 In the light of this realization I've adjusted the report and moved back this ticket to an accepted optimization. 6 6 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`.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`. 8 8 9 9 e.g.