Subscribe for only $15 to access all of our content

#93: Ecto.Multi

In this episode let’s take a look at Ecto.Multi, which is a data structure that lets us compose, introspect, and run proper SQL database transactions with Elixir. Transactions are great because they allow us to create multiple database records in a single operation. A single transaction containing multiple operations is more efficient as well as safer than running multiple database operations individually.

Let’s get started by…

Join to Subscribe

More Episodes

#110: Job Processing with Oban

Oban is a job processing library that uses Postgres. In this episode we’ll add Oban to an existing Elixir project and use it to move some work to the background.

Watch episode
Alchemist's Edition

#109: DynamicSupervisor and Registry

In this episode we’ll pick up where we left off in #108 and refactor our application to create a process for each user shopping cart. To do this we’ll use DynamicSupervisor and Elixir’s Registry.

Watch episode
Alchemist's Edition

#108: Shopping Cart Part 2

In part 2 of this series we’ll add to our existing shopping cart by allowing users to remove items from their existing carts.

Watch episode