01Chapter 1: Why upserts need a unique constraintYou should know basic SQL (SELECT, INSERT, UPDATE), understand primary keys and unique constraints, and be able to run statements in psql or another PostgreSQL client.1 min read
02Chapter 2: Updating on conflict with DO UPDATEThis chapter assumes you know basic SQL (SELECT, INSERT, UPDATE), understand primary keys and unique constraints, and can run statements in psql. It builds on ON CONFLICT DO NOTHING.1 min read