A real world use case with Elixir Recursion

Recently, I was working on writing a background worker using Elixir for one of our clients. There was a requirement to update records in a database table & also update those many records in another table. This post is about how I used Recursion to solve this use case. I am working on an application […]

Recently, I was working on writing a background worker using Elixir for one of our clients. There was a requirement to update records in a database table & also update those many records in another table. This post is about how I used Recursion to solve this use case.
I am working on an application where there are orders for each account. The background worker will search all orders which are pending & mark them completed & update those related accounts.
Source: Codemancers