So you want to develop a product with Nerves... Building a Table of Contents Component for a Phoenix Blog

How to update multiple records with different values in Ecto.Repo.update_all

The article shows how to use PostgreSQL unnest() to update multiple records with different values in Ecto.Repo.update_all/2

https://geekmonkey.org/updating-multiple-records-with-different-values-in-ecto-repo-update_all/