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

#112: Deploying with Gigalixir (Revised)

Gigalixir is a Platform as a Service built for Elixir. In this revised episode we’ll see how easy it is to deploy an application to Gigalixir.

Watch episode

#111: Session Testing with Elixir

Often when testing Phoenix controllers you’ll need to initialize the session with data. In this episode we’ll learn how to do just that using the Plug.Test module.

Watch episode

#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