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

Alchemist's Edition

#97: Schemaless Form Validations with Changesets

In this episode we’ll take an existing contact form and see how Ecto changesets can be used to perform schemaless form validations and display errors.

Watch episode
Alchemist's Edition

#96: Contact Form

In this episode we’ll build a contact form for an existing Elixir Phoenix application. When a user submits the form, an email will be sent using the Bamboo library.

Watch episode
Alchemist's Edition

#95: Phoenix LiveView Part 4

In part 4 of our Phoenix LiveView series we’ll use Phoenix Presence to track how many users are currently signed in to our application.

Watch episode