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
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner