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/
Read next Building a Table of Contents Component for a Phoenix Blog