|
|
|
|
|
by can3p
687 days ago
|
|
Small nitpick - the author mentions upsert in the beginning of the article only to "forget" about it and use it in the end (insert .. on conflict ignore) and that's the obvious solution there. The final query is very neat though! And special thanks for mentioning "MERGE ... RETURNING" in PG17, that's really cool |
|