Skip to content

Added 'upsert' function

This is going to make use of a fairly new insert statement called "INSERT ON CONFLICT", which allows an update to be performed on a record if the INSERT fails.

See: https://www.postgresqltutorial.com/postgresql-upsert/