Using Recursive Common Table Expressions with Ecto

Using Recursive Common Table Expressions with Ecto

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