3 ms·
Actually standard SQL does specify a MERGE command (which lets you implement an upsert) and it's implemented in Postgres
by acarl005 4y ago
Actually standard SQL does specify a MERGE command (which lets you implement an upsert) and it's implemented in Postgres
- password4321 4y agoMERGE debuted in PostgreSQL 15 fairly recently, and has some caveats. https://news.ycombinator.com/item?id=33236780 https://news.ycombinator.com/item?id=33236780