the.bay.news

Django 6.1's FETCH_PEERS collapses a 2,001-query loop into 2

DEV Community
Django 6.1's FETCH_PEERS collapses a 2,001-query loop into 2
Django 6.1's fetch_mode(FETCH_PEERS) cut a loop from 2,001 queries and 1.2s to 2 queries and 13ms, but I found it silently does nothing when combined with iterator() and gives no help at all on reverse relations.

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.