I just get noticed that
Repo.delete doesn’t work with entities without pk. I found in this discussion that I could do it using
Repo.update_all, but after searching for a while I don’t find the way to do it.
edit: NVM, you aren’t supposed to remove records with
update_all, but with