10.8.2022 |

postgres native upsert

PostgreSQL has a nativ way to do an upsert:

INSERT INTO table(my_col)
      VALUES ('my insert value')
      ON CONFLICT ON CONSTRAINT table_pkey DO UPDATE SET my_col = 'my update value');
Adrian
Zur Übersicht

Mehr vom DevSquad...

Dennis Hundertmark

Angular Unit Test - You're Testing Your Angular Code Wrong (Probably)

Jan Sauer

Besseres SEO durch Untertitel im Web?