Elixir Wizards cover image

Mark & David from Thinking Elixir on Ecto Queries

Elixir Wizards

CHAPTER

Is There a Sub Select in Ecto?

There's this thing that I am missing from Ecto that just is not supported. And I would love to see it. Sometimes I wish I could do a, so in the select where you say, I'm going to select from a field, that field name can be a select. But it's just not supported in Ecto. So when you need to do that now, are you writing a string SQL query or are you just not able to do it? Do you have to do it inSQL and Ecto, but not in the select? Oh, maybe you can use select merge. Yeah. Although you get kind of object oriented there. That's okay.

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