Using Recursive Common Table Expressions with Ecto (opens in new tab)
From Maarten van Vliet: A presentation I gave at the Amsterdam Elixir Meetup. We faced a problem where we needed to recursively load records from a database. The application was doing the recursion itself, recursively querying the mariadb instance. I explained how we moved to RCTE’s and how this works in Ecto. Slides
Read the original article