Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 638 Bytes

2021-12-14_the-difference-between-preload-and-includes.md

File metadata and controls

14 lines (10 loc) · 638 Bytes

The difference between preload and includes

preload is one of the two strategies that includes can use. The other is to do a big join.

I was always confused because in many cases includes does two queries, and that's what preload does, but with preload it's consistent, with includes you don't know what you're gonna get

Links: