3 upvotes, 0 direct replies (showing 0)
View submission: Massive Failure on the Product
When you deal with entities (things that have unique identifiers) you want to use upsert logic ie in postgres:
insert … on conflict (column) do update set email = :user.email
There's nothing here!