Mark & David from Thinking Elixir on Ecto Queries episode artwork

EPISODE · Oct 20, 2022 · 53 MIN

Mark & David from Thinking Elixir on Ecto Queries

from Elixir Wizards · host SmartLogic LLC

This week the Thinking Elixir Podcast is taking over Elixir Wizards! Mark & David from Thinking Elixir are here today to parse the particulars of Ecto Queries! Mark Ericksen is an Elixir Specialist at Fly.io and host of Thinking Elixir. David Bernheisel is a Senior Software Engineer at Bitfo and host of Thinking Elixir. Tune in today to learn more about Ecto Queries from today’s special guests, Mark Ericksen and David Bernheisel! Key Points From This Episode: A brief breakdown of today’s topic and introduction to our special guests, Mark & David The hosts catch up with Mark & David and learn about David’s new book Ecto In Production Dave Lucia is mentioned once again, can we go one episode without talking about him? Find out how long David & Mark have been working in databases We get the breakdown of what an Ecto Query is There is a discussion around schema migrations vs data migrations and how to avoid common pain points Learn what resources are available for learning Ecto We find out what the pin operator is and when it is used What an extensive query is and how to optimize queries We learn about fun edge cases that we’ve bumped into while working with Ecto The ins and outs of Ecto dump and Ecto load ”Ecto is a whole wide world of information. You think you know a lot and then you realize you don't. Nope, I'm almost just as dumb as I was five years ago about SQL and Ecto. Nope, it evolves. It gets deep.” - Mark Ericksen Links Mentioned in Today’s Episode: Mark Ericksen on Twitter — https://twitter.com/brainlid Mark Ericksen on LinkedIn — https://www.linkedin.com/in/mark-ericksen-66397417/ David Bernheisel on Twitter – https://twitter.com/bernheisel David Bernheisel on GitHub – https://github.com/dbernheisel David Bernheisel on LinkedIn – https://www.linkedin.com/in/bernheisel/ Thinking Elixir Podcast https://podcast.thinkingelixir.com/ SmartLogic — https://smartlogic.io/ SmartLogic Twitter — https://twitter.com/smartlogic Use The Index, Luke! https://use-the-index-luke.com/ Postgresql Tutorial https://www.postgresqltutorial.com/ Postgresql subqueries https://stackoverflow.com/questions/3004887/how-to-do-a-postgresql-subquery-in-select-clause-with-join-in-from-clause-like-s https://www.w3resource.com/sql/subqueries/understanding-sql-subqueries.php Fly Blog: Safe Ecto Migrations https://fly.io/phoenix-files/safe-ecto-migrations/ Crunchy Data Developer Tutorials https://www.crunchydata.com/developers/tutorials Crunchy Data Postgres Tips https://www.crunchydata.com/postgres-tips Ecto in Production https://www.ectoinproduction.com/ SQL Join Illustration https://commons.wikimedia.org/wiki/File:SQLJoins.svg SQL Join Illustration https://i.stack.imgur.com/UI25E.jpg

This week the Thinking Elixir Podcast is taking over Elixir Wizards! Mark & David from Thinking Elixir are here today to parse the particulars of Ecto Queries! Mark Ericksen is an Elixir Specialist at Fly.io and host of Thinking Elixir. David Bernheisel is a Senior Software Engineer at Bitfo and host of Thinking Elixir. Tune in today to learn more about Ecto Queries from today’s special guests, Mark Ericksen and David Bernheisel! Key Points From This Episode: A brief breakdown of today’s topic and introduction to our special guests, Mark & David The hosts catch up with Mark & David and learn about David’s new book Ecto In Production Dave Lucia is mentioned once again, can we go one episode without talking about him? Find out how long David & Mark have been working in databases We get the breakdown of what an Ecto Query is There is a discussion around schema migrations vs data migrations and how to avoid common pain points Learn what resources are available for learning Ecto We find out what the pin operator is and when it is used What an extensive query is and how to optimize queries We learn about fun edge cases that we’ve bumped into while working with Ecto The ins and outs of Ecto dump and Ecto load ”Ecto is a whole wide world of information. You think you know a lot and then you realize you don't. Nope, I'm almost just as dumb as I was five years ago about SQL and Ecto. Nope, it evolves. It gets deep.” - Mark Ericksen Links Mentioned in Today’s Episode: Mark Ericksen on Twitter — https://twitter.com/brainlid Mark Ericksen on LinkedIn — https://www.linkedin.com/in/mark-ericksen-66397417/ David Bernheisel on Twitter – https://twitter.com/bernheisel David Bernheisel on GitHub – https://github.com/dbernheisel David Bernheisel on LinkedIn – https://www.linkedin.com/in/bernheisel/ Thinking Elixir Podcast https://podcast.thinkingelixir.com/ SmartLogic — https://smartlogic.io/ SmartLogic Twitter — https://twitter.com/smartlogic Use The Index, Luke! https://use-the-index-luke.com/ Postgresql Tutorial https://www.postgresqltutorial.com/ Postgresql subqueries https://stackoverflow.com/questions/3004887/how-to-do-a-postgresql-subquery-in-select-clause-with-join-in-from-clause-like-s https://www.w3resource.com/sql/subqueries/understanding-sql-subqueries.php Fly Blog: Safe Ecto Migrations https://fly.io/phoenix-files/safe-ecto-migrations/ Crunchy Data Developer Tutorials https://www.crunchydata.com/developers/tutorials Crunchy Data Postgres Tips https://www.crunchydata.com/postgres-tips Ecto in Production https://www.ectoinproduction.com/ SQL Join Illustration https://commons.wikimedia.org/wiki/File:SQLJoins.svg SQL Join Illustration https://i.stack.imgur.com/UI25E.jpg

NOW PLAYING

Mark & David from Thinking Elixir on Ecto Queries

0:00 53:35

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

REWIND: The Musician’s Podcast - How to Grow Your Music Career Amit Weiner Welcome to Rewind!An optimistic podcast that will help you in your successful Career in Music!Amit Weiner hosts musicians, composers, professors, and sound wizards, as they share their life stories and career decisions.Stay tuned, it’s gonna be epic! Behind The Irishman Netflix Go behind the scenes of Martin Scorsese’s The Irishman with this official companion podcast from Netflix. Hosted by comedian and The Irishman co-star Sebastian Maniscalco (“Crazy Joe” Gallo), this three-part series features interviews with cast and crew, including Martin Scorsese, Robert De Niro, Al Pacino, and Joe Pesci. Hear the story of Frank “The Irishman” Sheeran from the man he chose to tell it—and how Scorsese and De Niro fought for years to bring that story to the screen. Plus, learn about the brand-new technology the visual effects wizards at Industrial Light and Magic built to bring this epic tale to life. This podcast was produced by Netflix with FannieCo and Crossroad Productions. Thinking Elixir Podcast ThinkingElixir.com The Thinking Elixir podcast is a weekly show where we talk about the Elixir programming language and the community around it. We cover news and interview guests to learn more about projects and developments in the community. Whether you are already experienced with Elixir or just exploring the language, this show is created with you in mind. We discuss community news, Functional Programming, transitioning from OOP, coding conventions, and more. Guests visit the show to help challenge our assumptions, learn about new developments and grow in the process. Subscribe to join us on this journey! The Magic Academy John Fletcher, Russell Earnshaw Supporting coaching wizards! Rusty and Fletch love to hang with rockstars from the coaching world and get them sharing through some pretty cool questions

Frequently Asked Questions

How long is this episode of Elixir Wizards?

This episode is 53 minutes long.

When was this Elixir Wizards episode published?

This episode was published on October 20, 2022.

What is this episode about?

This week the Thinking Elixir Podcast is taking over Elixir Wizards! Mark & David from Thinking Elixir are here today to parse the particulars of Ecto Queries! Mark Ericksen is an Elixir Specialist at Fly.io and host of Thinking Elixir. David...

Is there a transcript available for this episode?

Yes, a full transcript is available for this episode. You can read the complete transcript on the episode page.

Can I download this Elixir Wizards episode?

Yes, you can download this episode by clicking the download button on the episode player, or subscribe to the podcast in your preferred podcast app for automatic downloads.
URL copied to clipboard!