...

/

Exercise: Work with Transactions and the Multi Module

Exercise: Work with Transactions and the Multi Module

Practice how to convert a transaction with an anonymous function to the one that uses Ecto.Multi in this challenge.

We'll cover the following...

Problem statement

We’ve written a piece of code that inserts a new album record and a log entry. We used an anonymous function with the transaction function, as given below.

Access this course and 1400+ top-rated courses and projects.