The complete Guide to Upserts with Ecto
Upserts are useful for fire-and-forget updates to your database.Implementing them with Ecto can be tricky. This complete guide explains every step necessary and takes a deep-dive into the limitations and odd behaviours of Upserts.
https://www.peterullrich.com/complete-guide-to-upserts-with-ecto
Read next Elixir vs Ruby in Depth Comparison