4min chapter

Django Chat cover image

Optimizing Django Queries - Jamie Matthews

Django Chat

CHAPTER

How to Express Dependencies Between Business Logic and Business Logic

Duke: I was, I call it a two-pole. I say two-pole, but I've heard smart people say both. A structure with two items in it. So what you're saying is in order to efficiently call the model function, you have to a first called the query set function on the query set. Okay, so does that make sense? You can then compose those into big trees of things,. Each one sort of modifies the query set in some way. And then you evaluate your query set and you then iterate over the query set and call each of the functions that returns the values. It's an elegant way of building the thing that we had before

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode