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

#104: Generating RSS Feeds with Elixir

In this episode we’ll take an existing Elixir Phoenix application and build an Atom feed for it. To build the feed we’ll use the Atomex package.

Watch episode

#103: Writing Tests with ExVCR

In this episode we’ll explore one way of mocking external HTTP requests when testing using ExVCR. ExVCR records the actual HTTP request and response and replays it whenever that test runs.

Watch episode
Alchemist's Edition

#102: OTP backed Web Application Part 4

In the final part of this series we’ll use Phoenix Channels to improve the UI so that our coin tracker page updates automatically when a new cryptocurrency price is found.

Watch episode