News for hackers. Stuff that matters.
Re:PRQL a simple, powerful, pipelined SQL replacement by acarl005 on Friday December 30, 2022 @03:53AM (#34183253)
Actually standard SQL does specify a MERGE command (which lets you implement an upsert) and it's implemented in Postgres
Re:PRQL a simple, powerful, pipelined SQL replacement by password4321 on Friday December 30, 2022 @04:28AM (#34183444)
MERGE debuted in PostgreSQL 15 fairly recently, and has some caveats.

https://news.ycombinator.com/item?id=33236780