2min chapter

Elixir Mix cover image

PostgreSQL Queries with Michael Fich - EMx 190

Elixir Mix

CHAPTER

The Challenge of Writing a Blog Post About JSON B to Record Set

A lot of the JSON B to record set use cases that we found like stack overflow and blog posts or whatever, they kind of just showed it with raw SQL. That's another issue with trying to use it within the Ecto landscape because you can't have multiple schemas within the same from clause. So trying to figure out how to get around that was also another challenge that we encountered. The way that we resolve that one was trying to use a lateral join to be able to use the record set that's being returned from that function with the original base query.

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