Elektrine lite

← Feed

@adamghill@indieweb.social

Post #4235023

2026-05-24 15:14 UTC

@CodenameTim@mastodon.social I need to look at the code, but I’m curious if this “handles” both select_related _and_ prefetch_related. The way this is written seems like it’s for prefetch only?

Replies (1)

  • @CodenameTim@mastodon.social 2026-05-24 15:16

    @adamghill@indieweb.social I'm not sure, but I would guess that it treats select_related misses like prefetch_related misses using 2 queries instead of 1. cc: @adamchainz@fosstodon.org

    Open ##4235025