3min chapter

Talk Python To Me cover image

#344: SQLAlchemy 2.0

Talk Python To Me

CHAPTER

How to Do Paginated Results

Mr. Hyper Magnetic out there asked to see what can we support paginated results. We'll pass it in results is one of those things that seems simple, but it's more of a quagmire than you might expect. The way we all did it years ago was we use these functions in called limit and offset. It doesn't have the server side, but still very slow. So nowadays, if you do pagination, you want to have some kind of approach where the query you're doing is looking at some data in the data.

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