Bas Steins

1 video · 1 event · 2022 · 24 min of video

Talk

0:24:44

Deep Inside Django's ORM: How Django Builds Queries

DjangoCon Europe 2022 · October 14, 2022

Bas Steins traces Django’s ORM from a model manager through QuerySet and Query objects to the SQL compiler, explaining how each layer turns Python method calls into SQL. He shows that QuerySets are lazy until iteration, length, indexing, or another evaluation operation, and that filters…

Spoken at