Comment by matticusrex on 27/01/2025 at 12:52 UTC

3 upvotes, 0 direct replies (showing 0)

View submission: Massive Failure on the Product

View parent comment

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

Replies

There's nothing here!