4min chapter

Frontend First cover image

Lessons from stitching GraphQL services with Hasura

Frontend First

CHAPTER

How to Migrate a Postgres Function to Production

With Postgres, when you run this function, like is active subscription, you don't get all the intermediate steps. You just get true or false. And so you basically have to write like four different queries that are each of the steps and then kind of roll them up into a single function. So it's very, it's hard. Like the debugging story is a lot harder. I'm also happy we did this just because we've been using a server for the last year. It has to be able to derive data if we're going to, yeah, we're Going to continue to use it.

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