Reposted by Martin Wöginger
#AshFramework atomic updates are extremely powerful. When you add a where: [changing(:name)] condition, in an atomic context it compiles into the UPDATE statement itself. The condition becomes a CASE expression in SQL. One atomic query. #ElixirLang