Re:The Many Faces of Distinct in PostgreSQL
by jadbox on Monday May 22, 2023 @11:26AM
(#36032666)
> "select or insert if row doesn't exist" behavior
I've hit this many, many times. It's such a common need, and yet I keep having to write it out as multiple queries to "select row" and if no result, do then insert query.
I've hit this many, many times. It's such a common need, and yet I keep having to write it out as multiple queries to "select row" and if no result, do then insert query.